Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-3758

Le moteur de recherche ne fonctionne pas lorsqu'une donnée de l'arborescence est absente

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.3, 4.9.0
    • 4.8.0
    • None
    • None
    • 4.9.0 M2
    • Oui

      Category:	org.ametys.web.frontoffice.search
      Message:		An error occured while executing search component 'org.ametys.web.frontoffice.search.requesttime.impl.SaxResultsSearchComponent' for request '14ebd58c'. Other components will be executed but the result can be inconsistent
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.ametys.plugins.repository.AmetysRepositoryException: Child path cannot be null, empty or absolute
      	at org.ametys.plugins.repository.jcr.TraversableAmetysObjectHelper.getChild(TraversableAmetysObjectHelper.java:82)
      	at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObjectFactory.getChild(DefaultTraversableAmetysObjectFactory.java:51)
      	at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject.getChild(DefaultTraversableAmetysObject.java:71)
      	at org.ametys.plugins.odfweb.repository.ProgramPage.getParent(ProgramPage.java:286)
      	at org.ametys.plugins.odfweb.repository.ProgramPage.getParent(ProgramPage.java:61)
      	at org.ametys.plugins.odfweb.repository.AbstractProgramItemPage.getOdfPath(AbstractProgramItemPage.java:105)
      	at org.ametys.plugins.odfweb.repository.AbstractProgramItemPage._isPartOfCurrentPath(AbstractProgramItemPage.java:146)
      	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
      	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
      	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
      	at org.ametys.plugins.odfweb.repository.AbstractProgramItemPage.setCurrentEducationalPaths(AbstractProgramItemPage.java:128)
      	at org.ametys.plugins.odfweb.repository.ProgramPage.getContent(ProgramPage.java:464)
      	at org.ametys.plugins.odfweb.repository.ProgramPage.getContent(ProgramPage.java:61)
      	at org.ametys.web.repository.page.virtual.ConfigurableVirtualZoneItem.getContent(ConfigurableVirtualZoneItem.java:127)
      	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
      	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
      	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
      	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
      	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
      	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
      	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
      	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
      	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
      	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
      	at org.ametys.web.frontoffice.search.metamodel.impl.PageSaxer._saxPageContents(PageSaxer.java:108)
      	at org.ametys.web.frontoffice.search.metamodel.impl.PageSaxer.sax(PageSaxer.java:88)
      	at org.ametys.plugins.odfweb.service.search.ProgramSaxer._saxProgramPage(ProgramSaxer.java:121)
      	at org.ametys.plugins.odfweb.service.search.ProgramSaxer.sax(ProgramSaxer.java:82)
      	at org.ametys.web.frontoffice.search.requesttime.impl.SaxResultsSearchComponent.saxHit(SaxResultsSearchComponent.java:150)
      	at org.ametys.web.frontoffice.search.requesttime.impl.SaxResultsSearchComponent.saxHits(SaxResultsSearchComponent.java:120)
      	at org.ametys.web.frontoffice.search.requesttime.impl.SaxResultsSearchComponent.execute(SaxResultsSearchComponent.java:73)
      	at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator.generate(SearchServiceGenerator.java:175)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782)
      	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
      	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
      	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:181)
      	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:140)
      	at org.ametys.web.repository.PageGenerator._saxSource(PageGenerator.java:725)
      	at org.ametys.web.repository.PageGenerator._saxZoneItem(PageGenerator.java:525)
      	at org.ametys.web.repository.PageGenerator._saxZoneItems(PageGenerator.java:395)
      

      J'ai des formations sans diplôme renseigné.
      Cela pourrait juste générer un log d'erreur mais permettre l'affichage de la recherche.

            bmaurel Bérénice Maurel
            lperier Laurence Perier
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: