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
Works deposited via proxy are always set to private visibility #5457
Comments
There's definitely a race condition here somewhere. With breakpoints in the ContentDepositorChangeEventJob and in the SetDefaultAdminSet transaction the bug disappears. Could hyrax/config/initializers/listeners.rb Line 19 in 10d4c2e
|
It looks like visibility is not defined as an attribute on the resource. So when the postgres adapter saves it by pulling its attributes it simply doesn't come out and doesn't override the old value. Edit to add: that's a red herring, visibility is determined by logic outside the simple existence of a property. |
Essentially reverts #4653. The listener appears to be failing to run correctly due to race conditions observed when investigating #5457 and a similar bug that appeared after an upgrade to hyrax 3.2 at Duke. The actor is un-deprecated here because the full actor stack will be deprecated once it's been replaced by the valkyrie transactions code path. Advances #5457; addition of a transaction step in a forthcoming PR.
Essentially reverts #4653. The listener appears to be failing to run correctly due to race conditions observed when investigating #5457 and a similar bug that appeared after an upgrade to hyrax 3.2 at Duke. The actor is un-deprecated here because the full actor stack will be deprecated once it's been replaced by the valkyrie transactions code path. Advances #5457; addition of a transaction step in a forthcoming PR.
Essentially reverts #4653. The listener appears to be failing to run correctly due to race conditions observed when investigating #5457 and a similar bug that appeared after an upgrade to hyrax 3.2 at Duke. The actor is un-deprecated here because the full actor stack will be deprecated once it's been replaced by the valkyrie transactions code path. Advances #5457; addition of a transaction step in a forthcoming PR.
Add a new transaction step. Replace behavior of queuing a job that runs a service with running a service that then queues a job closes #5457
Add a new transaction step. Replace behavior of queuing a job that runs a service with running a service that then queues a job closes #5457
Add a new transaction step. Replace behavior of queuing a job that runs a service with running a service that then queues a job closes #5457
Descriptive summary
On nurax-pg, when depositing a work as a proxy, the visibility of the work is set to private even if the visibility on deposit was set to public.
Expected behavior
Works deposited via proxy should reflect the visibility settings selected during the deposit process.
Actual behavior
Works deposited via proxy are set to private.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: