Skip to content
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

Override ActiveFedora and HydraAccessControls to ensure AccessControl… #5144

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

cjcolvar
Copy link
Member

@cjcolvar cjcolvar commented Mar 31, 2023

… objects are marked dirty and autosave so they get indexed properly

I added some tests but was not able to get any of them to fail prior to the changes in this PR. It is possible that the issue is only present in a production environment.

… objects are marked dirty and autosave so they get indexed properly
Copy link
Contributor

@masaball masaball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good as far as I can tell. I've been trying to brainstorm some additional test cases/approaches, but only thing that comes to mind is that Emily's video was testing adding an IP address so maybe specifically testing the IP address update path would catch the bug.

But even if this is not a production only bug, Emily did say in her video that which items index the change was variable so I'm really not sure about how to get consistently failing tests pre-fix...

@cjcolvar cjcolvar merged commit 1ce1b8a into develop Mar 31, 2023
@cjcolvar cjcolvar deleted the apply_all_ac branch March 31, 2023 19:35
@cjcolvar cjcolvar mentioned this pull request Mar 31, 2023
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.

2 participants