-
Notifications
You must be signed in to change notification settings - Fork 7
Get rid of old Attachments action, adjust new actions #7249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
labkey-jeckels
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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