-
Bug
-
Resolution: Fixed
-
Major
-
4.0RC4
-
None
The solr tool can be opened from different search tools.
The result and columns should be cleared when it happens.
How to reproduce
- Do a search on search tool 1
- Open the solr tool from this tool
- Click on "search"
- Do a search on search tool 2
- Open the solr tool from this tool
=> The form in solr tool is correctly updated but the results and columns are still those of search tool 1
This could leads to errors such as :
java.lang.IllegalArgumentException: Search field with path 'codeUAI' refers to an unknown indexing field: codeUAI at org.ametys.cms.search.content.ContentSearchHelper.getIndexingModelSearchField(ContentSearchHelper.java:189) at org.ametys.cms.search.content.ContentSearchHelper.getSearchField(ContentSearchHelper.java:155) at org.ametys.cms.search.content.ContentSearcherFactory$SimpleContentSearcher.getSort(ContentSearcherFactory.java:536) at org.ametys.cms.search.content.ContentSearcherFactory$SimpleContentSearcher._searcher(ContentSearcherFactory.java:498) at org.ametys.cms.search.content.ContentSearcherFactory$SimpleContentSearcher.searchWithFacets(ContentSearcherFactory.java:493) at org.ametys.cms.search.solr.SolrQuerySearchAction.doSearch(SolrQuerySearchAction.java:141) at org.ametys.cms.search.cocoon.SearchAction.act(SearchAction.java:133)