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

Migrations produce warnings about rendered item fields #1154

Open
mjordan opened this issue Jun 9, 2019 · 1 comment
Open

Migrations produce warnings about rendered item fields #1154

mjordan opened this issue Jun 9, 2019 · 1 comment
Labels
Subject: Migration Concerning migration from Islandora 7 to Islandora 2.x.x

Comments

@mjordan
Copy link
Contributor

mjordan commented Jun 9, 2019

Running both the migrate_islandora_csv and islandora_7x migrations from the command line produces the following warning for each node:

[warning] Warning: While indexing items on search index Default Solr content index, 1 item(s) did not have a view mode configured for one or more "Rendered item" fields.

@seth-shaw-unlv
Copy link
Contributor

To fix this manually:

  1. before import navigate to the solr index fields configuration page (http://localhost:8000/admin/config/search/search-api/index/default_solr_index/fields)
  2. Click on the 'Edit' link on the "rendered_item" line
    Screen Shot with a red arrow pointing at the relevant link
  3. Select a view mode (I recommend "Search index") for each of the content types and click "Save"
    Screen Shot with an arrow directed at the drop-down box to select the view mode for "repository item" (Note: screenshots taken from future.islandora.ca that has a bunch of extra content types at the time of capture.)
  4. Click "Save changes" at the bottom of the page.

Existing content (if you have any) will need to be reindexed.

I've tried to set sensible defaults, export the search settings as part of the islandora feature, but for some reason I can't import them back in. We will need to rely on documentation, for now.

@kstapelfeldt kstapelfeldt added Subject: Migration Concerning migration from Islandora 7 to Islandora 2.x.x and removed migration labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Migration Concerning migration from Islandora 7 to Islandora 2.x.x
Projects
Development

No branches or pull requests

3 participants