-
Notifications
You must be signed in to change notification settings - Fork 124
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
image file in Items section of work show page is a link instead of a title #5480
Comments
I get the following error from Sidekiq when creating a Monograph with one image. The other jobs fail with a different error, but this one seems likely to be preventing the filename from being put in the label.
|
Some of the errors I'm seeing:
|
This happens in CharacterizeJob when Valkyrie's not turned on, but that doesn't run in Valkyrie-mode. This duplicates that logic here. Refs #5480
This happens in CharacterizeJob when Valkyrie's not turned on, but that doesn't run in Valkyrie-mode. This duplicates that logic here. Refs #5480
Descriptive summary
On nurax-pg, viewing the show page for a work that has an image file, there are multiple issues that may or may not be related.
This may be caused, at least partially, by the differences in solr docs generated by the AF Work indexer and the Valkyrie Work indexer. Note that the Valkyrie Solr Doc does not have "title_tesim", as well as other fields. And it has a some fields that the AF Solr Doc does not.
AF Solr Doc
Generated by creating an Generic Work with a file on nurax-dev. (alphabetized)
Hyrax::FileSet (Valkyrie)
Generated by creating an Image work on nurax-pg. (alphabetized)
Rationale
ActiveFedora and Valkyrie show pages for works should behave the same.
Expected behavior
After creating a work with an image file, they should be listed under Items on the work show page with a thumbnail and title (e.g.
s_amer_butterfly_2.jpg
) with a link to the fileset page. Clicking the link should load the file set's show page.Actual behavior
After creating a work with an image file, they are be listed under Items on the work show page, but the thumbnail is not displayed and the title (e.g.
/concern/parent/20c72a.../file_sets/4fd5a5...
) is the link to the fileset page. Clicking the link loads the home page with an authentication error.Steps to reproduce the behavior
Prerequisites
Configure Hyrax:
To reproduce
This forwards to the new work's show page. Look at the list of items at the bottom. You will see something similar to the screen shot in the Actual behavior section.
Related work
Issue #5474 - The failure to show the file in the universal viewer is probably related to this issues described in this Issue.
Issue #4788 - Work thumbnail fails to show in Dashboard -> Works list of works
The text was updated successfully, but these errors were encountered: