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

Nouveau service de recherche ELP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.1.0
    • 4.1.0
    • None
    • None
    • 4.2 RC3

      Apres avoir valider le service, une erreur bloquante apparaît.

      Le problème viendrait en parti du fait qu'il est possible de valider le service sans remplir le champs critère, qui est normalement obligatoire.

      Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
      	at java.util.TimSort.mergeHi(TimSort.java:899)
      	at java.util.TimSort.mergeAt(TimSort.java:516)
      	at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
      	at java.util.TimSort.sort(TimSort.java:254)
      	at java.util.Arrays.sort(Arrays.java:1512)
      	at java.util.ArrayList.sort(ArrayList.java:1462)
      	at org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedSearchable._createIndexingFieldSearchCriterionDefs(AbstractContentBasedSearchable.java:387)
      	at org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedSearchable._getIndexingFieldSearchCriterionDefs(AbstractContentBasedSearchable.java:314)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.Collections$2.tryAdvance(Collections.java:4717)
      	at java.util.Collections$2.forEachRemaining(Collections.java:4725)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedSearchable._getIndexingFieldSearchCriterionDefs(AbstractContentBasedSearchable.java:298)
      	at org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedSearchable.getCriteria(AbstractContentBasedSearchable.java:267)
      	at org.ametys.web.frontoffice.search.metamodel.SearchServiceCreationHelper.lambda$4(SearchServiceCreationHelper.java:221)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      	at org.ametys.web.frontoffice.search.metamodel.SearchServiceCreationHelper.getCriterionDefinitions(SearchServiceCreationHelper.java:224)
      	at org.ametys.web.frontoffice.search.instance.SearchServiceInstanceFactory.createSearchServiceInstance(SearchServiceInstanceFactory.java:117)
      	at org.ametys.web.frontoffice.search.instance.SearchServiceInstanceManager.get(SearchServiceInstanceManager.java:97)
      	at org.ametys.web.frontoffice.search.SearchService.isCacheable(SearchService.java:167)
      	at org.ametys.web.repository.PageGenerator._saxZoneItem(PageGenerator.java:450)
      	... 57 more 

        1. bloquant searchodf.png
          53 kB
          Thibaut Bergé
        2. search bloquantODF2.png
          123 kB
          Thibaut Bergé

            sprieul Simon Prieul (Inactive)
            tberge Thibaut Bergé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: