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

Search Service with Facet on Dates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.4, 4.7.17, 4.9.0
    • 4.6.0
    • None
    • None

      How to reproduce : 

      Note : seen on demo and on intranet skins

      1/ Create a search service and set last validation as facet : 

      2/ Facet is displayed as follow : 

      3/ When selecting a facet, following error is encountered : 
      Date:            Thu Dec 15 15:31:27 CET 2022 (1671114687375)Thread:        http-nio-10016-exec-1
      Message #:    383
      Level:        ERROR
      NDC:            
      Category:    org.ametys.web.frontoffice.search
      Message:        An error occured while executing search component 'org.ametys.web.frontoffice.search.requesttime.impl.SetResultsSearchComponent' for request '1333de8e'. Other components will be executed but the result can be inconsistent
      Location:    org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr: Invalid Date String:'Wed Feb 27 12:24:44 CET 2019'    at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:709)
          at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:233)
          at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:214)
          at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:217)
          at org.ametys.cms.search.solr.SearcherFactory$Searcher._querySolrServer(SearcherFactory.java:470)
          at org.ametys.cms.search.solr.SearcherFactory$Searcher.searchWithFacets(SearcherFactory.java:426)
          at org.ametys.web.frontoffice.search.requesttime.impl.SetResultsSearchComponent.execute(SetResultsSearchComponent.java:45)
          at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator.generate(SearchServiceGenerator.java:174)
       

            Unassigned Unassigned
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: