emory-libraries / dlp-selfdeposit

0 stars 0 forks source link

Error when creating new works via the UI form: NoMethodError in Hyrax::PublicationsController#create #355

Closed eporter23 closed 4 months ago

eporter23 commented 4 months ago

Describe the bug When testing the process of creating a new work in the form on 6/20/24, I receive the below error when submitting.

To Reproduce Steps to reproduce the behavior:

  1. Go to oe24-test
  2. Login as basic_user
  3. Go to the Dashboard > Works > Create New Work
  4. Fill out all required metadata and upload a file
  5. Assent to the deposit agreement and click save
  6. See error

Expected behavior A clear and concise description of what you expected to happen.

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

Screenshot 2024-06-20 at 11.43.41 AM.png

Desktop (please complete the following information):

maxdmayhew commented 4 months ago

this seems to happen regardless of what type content genre you select. And as far as I can tell my validation script is not related to this issue.



image
eporter23 commented 4 months ago

I did some testing again today, and I'm getting this error now - I'll add this to the PID ticket too: Screenshot 2024-06-25 at 9.51.16 AM.png

bwatson78 commented 4 months ago

Fix should be in place. Let me know if this error is seen again.

bwatson78 commented 4 months ago

The newly minted NOIDs were not being tracked, so a PR was made to initialize the database storage of the newly created IDs. PR: https://github.com/emory-libraries/dlp-selfdeposit/pull/366