rendered_item re-save can be automated?

Created on 11 October 2023, about 1 year ago
Updated 15 October 2023, about 1 year ago

I had this error, when I installed module search_api with search_api_db_defaults in a custom theme with new content types via config-files and a custom module with import nodes on install_hook:
"The field Rendered item (rendered_item) on index Default content index is missing view mode configuration for some datasources or bundles. Please review (and re-save) the field settings."

Is there an automated/drush command for the re-save the page "/admin/config/search/search-api/index/default_index/fields"?

This is my workflow:

  1. install drupal
  2. install & enable search_api search_api_db search_api_db_defaults
  3. uninstall search_api_db_defaults
  4. activate new theme with new node types
  5. activate new module with content
💬 Support request
Status

Fixed

Version

1.29

Component

General code

Created by

🇩🇪Germany thomaswalther Rhein-Main Area

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @thomaswalther
  • Status changed to Fixed about 1 year ago
  • 🇦🇹Austria drunken monkey Vienna, Austria

    It’s just a warning, telling you to review the settings. It’s pretty pointless to automate that, as that would merely have the effect of removing the warning, without addressing the underlying cause.
    So, no, there is no Drush command for that. You could still automate it with custom code, of course, but I don’t think it makes sense to include that as a general feature.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024