Skip to content

Catch NotFoundException on delete allUsers ACL, ignore.#89

Open
bradjones1 wants to merge 1 commit intoSuperbalist:masterfrom
bradjones1:catch-delete
Open

Catch NotFoundException on delete allUsers ACL, ignore.#89
bradjones1 wants to merge 1 commit intoSuperbalist:masterfrom
bradjones1:catch-delete

Conversation

@bradjones1
Copy link
Copy Markdown

If an object is uploaded with private visibility, and then later an application (in this case, Drupal) does a setVisibility operation on the object to private, a NotFoundException is thrown since there is no allUsers ACL to delete. This patch catches that specific exception (but would allow others to bubble up), as it's not truly a failure case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant