Get rid of old Attachments action, adjust new actions#7249
Get rid of old Attachments action, adjust new actions#7249labkey-adam merged 8 commits intodevelopfrom
Conversation
labkey-jeckels
left a comment
There was a problem hiding this comment.
Manually tested with site admin, troubleshooter, and reader access. Permissions functioned as expected, including on the backing core.Documents table.
Would be nice to have a little more automated coverage, unless I'm missing something that's already been merged. Maybe just check that the documents table is/isn't available for a few representative roles.
FWIW, on my dev DB, the majority of documents have no parent type. Is that expected?
Perhaps worth a quick addition to try as a troubleshooter (since that took extra work) and also make sure you can't see
Looking at those orphaned attachments, the vast majority are repeated many times and look to be from folder import/export testing. Seems like they're related to samples (I still have the exploded folder archive), but samples use Files, not Attachments. I'm confused. |
Test has been updated. I don't know what's going on with those attachments. What does |
Well, that's weird. I know @labkey-tchad identified a couple places where we orphan attachments, i.e., when deleting a parent, we fail to delete the associated attachments. For example, https://github.com/LabKey/internal-issues/issues/707 |


Rationale
Old, slow action has been replaced by a simple query
Related Pull Requests