Closed elrayle closed 2 years ago
PR https://github.com/samvera/hyrax/pull/5287 adds a check to skip the code that allows a user to select a thumbnail for the collection. When this issue is resolved, the skip should be removed.
Thumbnails for collections is not available in nurax-pg and is also not available in locally built Valkyrized Hyrax (koppie). There is a hyrax issue (#5286) for the fact that thumbnail selection is not working for collections in Valkyrized Hyrax. There is also an issue to redo the collection thumbnail selection and move the current selection workflow behind a feature flipper (https://github.com/samvera/hyrax/issues/5764). Closing this issue as a won't fix for nurax-pg and approaching collection thumbnails for Valkyrized Hyrax through the redo issue instead.
Description
When using the postgres adapter in nurax-pg, editing a collection raises
undefined thumbnail_id
as the edit form tries to load.Expected
Dashboard -> Collections -> click Action menu beside existing collection -> Edit collection -> opens the edit form populated with the collection's values.
Actual
Dashboard -> Collections -> click Action menu beside existing collection -> Edit collection -> raises an exception
Steps to reproduce the behavior
Prereq: Create a User Collection on nurax-pg.
Related work
Issue https://github.com/samvera/hyrax/issues/5133 - Val MVP: Edit PcdmCollection as a valkyrie resource through UI
Issue https://github.com/samvera/hyrax/issues/5286 - specific to this
undefined thumbnail_id
exception