Skip to content
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

Hyrax::Works do not index file sets #4794

Closed
elrayle opened this issue Mar 16, 2021 · 0 comments · Fixed by #4796
Closed

Hyrax::Works do not index file sets #4794

elrayle opened this issue Mar 16, 2021 · 0 comments · Fixed by #4796
Labels

Comments

@elrayle
Copy link
Contributor

elrayle commented Mar 16, 2021

Descriptive summary

Creating a Monograph, which is_a Hyrax::Work is_a Valkyrie::Resource, with files does not include member_ids_ssim in the solr_doc.

Rationale

Works should record their members in the solr doc.

Expected behavior

Creating a Monograph with files should include member_ids_ssim in the solr doc for the Monograph work.

Actual behavior

Creating a Monograph with files does not include member_ids_ssim in the solr doc for the Monograph work.

Steps to reproduce the behavior

Prerequisites

Edit .internal_test_app/config/initializers/hyrax.rb and set config

config.query_index_from_valkyrie = true
config.index_adapter = :solr_index

Test

  1. Login
  2. Dashboard -> Works -> Add new work -> select Monograph as the work type
  3. Fill in required fields
  4. Add a file
  5. Save (forwards to the show page for the Monograph work)
  6. Click Works in the breadcrumb to return to Dashboard -> Works

View the solr doc in the Valkyrie index core.

Related Issues

PR #4780 Add indexing for Hyrax::FileSet through valkyrie indexing

Issue #4795 - Hyrax::Works do not show Date Added in Dashboard -> Works
Issue #4788 - Hyrax::Works do not show thumbnail in Dashboard -> Works
Issue #4487 - Solr docs generated by ActiveFedora and Hyrax::ValkyrieWorkIndexer are not compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant