Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8285

[Solr tool] The columns and results should be cleared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0RC5
    • 4.0RC4
    • Plugin : Search
    • 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)
      

            sprieul Simon Prieul (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: