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

Third party settings at search api index yaml file lost #150

Open
abel-santos-corral opened this issue Aug 5, 2022 · 0 comments
Open

Third party settings at search api index yaml file lost #150

abel-santos-corral opened this issue Aug 5, 2022 · 0 comments

Comments

@abel-santos-corral
Copy link
Contributor

Problem
At several projects we started using oe_list_pages along to oe_whitelabel beta 5. We have seen that until version 0.16.0 at search api index there's no configuration for list pages and that all content types are offered at facets.

From version 0.17.0 we have seen that list pages includes hooks at oe_list_pages.module to provide with a variable at Search API index's form. Our problem is that when we save (either we don't modify anything or we do) we lose this configuration:
'''
oe_list_pages:
lists_pages_index: true
'''
We debugged a little and we pass through oe_list_pages_form_search_api_index_form_entity_builder, but when the save node finishes the third party settings is lost and we have the list pages deactivated for the search index and the related facets broken because the source has been lost.

I tried something on my local because the solr config was there after saving: remove module search_api_solr and try again. Then the third party settings of oe_list_pages again work fine.

Please, check if at oe_list_pages_form_search_api_index_form_entity_builder if something at oe_list_pages must be done....if not we'll need to open an issue at search_api_solr because several projects at Agencies will have both oe_list_pages and solr and we need to find a solution.

Many thanks in advance and sorry for the inconvenience.

Regards
Abel S.

Modules && Themes
The list of modules we're using:

  • search_api
  • search_api_solr
  • oe_list_pages
    Theme:
  • oe_whitelabel beta4
upchuk added a commit that referenced this issue Aug 17, 2022
Issue #150: Fix third party options not being saved for indexes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant