Closed elrayle closed 2 years ago
this might be fixed by #4947
@elrayle this works as expected on nurax-pg. On nurax-dev, I get a NoMethodError in Hyrax::Monographs#new
error message when I try to create a monograph work which blocks further testing.
There have been changes to generators and it is possible that the Monograph on nurax-pg is slightly different than the Monograph on nurax-dev. This will require more exploration, but I would start with a comparison of the two Monograph classes (and other generated components of the Monographs) before jumping deep into Hyrax code.
Issue #5447 describes the problem when trying to edit a Monograph that causes the exception. The exception only happens when Settings -> Features -> Batch Upload is ON. When that is turned off, I can confirm that this issue is fixed.
Descriptive summary
The Monograph is a Valkyrie resource. When editing an existing Monograph work, all the fields shown in the new work form should also be shown in the edit work form. But the edit work form only shows the Title field.
Rationale
The edit form should behave the same for AF objects and Valkyrie resources.
Expected behavior
The edit form should have the same fields as the new form on the Description tab. The image below is the new form.
Actual behavior
Only the Title field is displayed on the Descriptions tab. The image is the actual edit form.
Steps to reproduce the behavior
Prerequisite
Reproduce behavior
Fails to display all fields.
Related Work
Issue #4900 - Edit form error when setting Sharing permissions