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

Review and Approval error on one-step mediated workflow #5654

Closed
jlhardes opened this issue May 20, 2022 · 3 comments
Closed

Review and Approval error on one-step mediated workflow #5654

jlhardes opened this issue May 20, 2022 · 3 comments

Comments

@jlhardes
Copy link
Contributor

Descriptive summary

Approving a one-step mediated deposit Work results in an error message "Ldp::Gone in Hyrax::WorkflowActionsController#update". Returning to Work view page still shows Review and Approval menu even though approval action was taken and Work is labeled Deposited.

Expected behavior

Approval should not result in error message and viewing work after approval should not continue providing Review and Approval menu.

Actual behavior

Experiencing error "Ldp::Gone in Hyrax::WorkflowActionsController#update" when approving a Work:

Screen Shot 2022-05-20 at 11 16 06 AM

Review and Approval menu still shows even when Work is approved and labeled Deposited:

Screen Shot 2022-05-20 at 11 17 13 AM

Steps to reproduce the behavior

  1. Log in as an admin user, create a one-step deposit admin set (create new collection of type "Admin Set", under Workflow tab select "One-step mediated deposit workflow")
  2. Log in as non-admin user and submit new work to the one-step workflow admin set - set to public
  3. Log in as an admin user and go to Dashboard: Tasks: Review Submissions
  4. Click on work title, see "Review and Approval"
  5. Select "Approve" and click Submit
  6. Receive "Ldp::Gone in Hyrax::WorkflowActionsController#update" error message
  7. Navigate back to Work show page as admin user
  8. See Review and Approval menu still in place even with Work labeled as Deposited (and not Pending Review)

Related work

#5634 was fixed and then this issue was discovered.

@bwatson78
Copy link
Contributor

@jlhardes Do you recall if this happened on a Generic Work? I just stepped through the behavior list on a Generic Work without error.

@jlhardes
Copy link
Contributor Author

@bwatson78 it was a Generic Work, that is the only work type I have been testing on this branch.

@jlhardes
Copy link
Contributor Author

Testing with bl7bootstrap4 branch locally again and this error is no longer occurring. Established that returning to Work view page and still seeing Review and Approval menu as the reviewer/approver is working as it should (Approve is no longer an option as an action but Request Changes and Comment Only are still available; Work is labeled as Deposited).

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

No branches or pull requests

2 participants