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

Following the 4.9 migration, the search engine is not displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 4.9.3, 4.10.0
    • 4.9.2
    • None
    • None
    • 4.10 M1

      On my ODF portal after migration to 4.9 the search engine is not displayed.
      If I remove the "Place" criterion it is displayed.

      In my data I have programs that have a string "12000" or "81000" instead of the contents of the reference table.
      The search engine should not crash because of the data, but rather display and log errors.

      Message : An error occured while executing search component 'org.ametys.web.frontoffice.search.requesttime.impl.SaxEnumeratedCriteriaComponent' for request 'cefab0a'. Other components will be executed but the result can be inconsistent
      
      
      org.ametys.plugins.repository.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax: 12000
      at org.ametys.plugins.repository.AmetysObjectResolver#resolveById:334
      at org.ametys.cms.data.type.indexing.impl.ContentIndexableElementType#getFacetLabel:171
      at org.ametys.cms.search.model.CriterionDefinitionHelper#getFacetLabel:140
      at org.ametys.web.frontoffice.search.metamodel.impl.ReferencingSearchServiceCriterionDefinition#getFacetLabel:89
      at org.ametys.web.frontoffice.search.metamodel.impl.ContentFacetDefinition#getFacetLabel:75
      at org.ametys.web.frontoffice.search.requesttime.impl.SaxEnumeratedCriteriaComponent#_saxFacetItemsWithCount:264
      at org.ametys.web.frontoffice.search.requesttime.impl.SaxEnumeratedCriteriaComponent#_saxCountEnumeratedCriteria:221
      at org.ametys.web.frontoffice.search.requesttime.impl.SaxEnumeratedCriteriaComponent#execute:126
      at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator#generate:166
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      at org.apache.cocoon.components.source.SourceUtil#toSAX:101
      at org.apache.cocoon.components.source.SourceUtil#toSAX:181
      at org.apache.cocoon.components.source.SourceUtil#toSAX:140
      at org.ametys.web.repository.PageGenerator#_saxSource:726
      at org.ametys.web.repository.PageGenerator#_saxZoneItem:526
      at org.ametys.web.repository.PageGenerator#_saxZoneItems:396
      at org.ametys.web.repository.PageGenerator#_saxZone:323
      at org.ametys.web.repository.PageGenerator#generate:244
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      at org.apache.cocoon.components.source.SourceUtil#toSAX:101
      at org.apache.cocoon.components.source.SourceUtil#parse:321
      at org.apache.cocoon.sitemap.ContentAggregator#generate:125
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483
      

            cbayle Caroline Bayle
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: