emory-libraries / dlp-selfdeposit

0 stars 0 forks source link

NoMethodError when creating new works #317

Closed eporter23 closed 5 months ago

eporter23 commented 5 months ago

Describe the bug After our latest deploy on 5/31, creating new works using our approval workflow results in an error. This also seems to be affecting the ability to edit existing works as well as editing an existing Collection.

To Reproduce Steps to reproduce the behavior:

  1. Login as Admin
  2. Create a new work and fill out all required metadata and upload a file
  3. Go to the Relationships tab and assign the OpenEmory custom Admin set with workflow
  4. Submit the work
  5. Approve the deposit
  6. See NoMethodError

Additional note: if I hit the back button in my browser, the work appears, but still shows as under review. So it appears that the work is being created, but can't make it through the approval steps in the workflow. Also, I am seeing a default UUID pattern for the ID and not our custom NOID pattern.

Here is the work I created that can't get past the approval step: https://oe24-test.libraries.emory.edu/concern/publications/43e8e58f-9b6c-4ecf-9e73-bdfa0aa828dc?locale=en

Expected behavior A work should be created without errors

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2024-05-31 at 11.11.35 AM.png

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

bwatson78 commented 5 months ago

PR made: https://github.com/emory-libraries/dlp-selfdeposit/pull/318