Dans le moteur de recherche des formations, ajouter un critère "Régimes d'études" contient une valeur entrée par le visiteur parmi "Formation continue, Formation continue non diplômante", le moteur de recherche ne s'affiche pas :

et l'erreur dans les logs est :
org.ametys.plugins.repository.AmetysRepositoryException: Unable to get infos about the repository data of node 'node /ametys:root/ametys:contents/34/60/formation-continue'. at org.ametys.plugins.repository.data.repositorydata.impl.JCRRepositoryData#toString:945 at java.base/java.lang.String#valueOf:4454 at org.ametys.plugins.repository.data.repositorydata.impl.JCRRepositoryData#hasValue:495 at org.ametys.plugins.repository.data.repositorydata.RepositoryData#hasValue:357 at org.ametys.cms.data.type.impl.LongRepositoryElementType#hasNonEmptyValue:65 at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#_hasValue:596 at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#hasValue:544 at org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject#hasValue:53 at org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject#hasValue:80 at org.ametys.web.frontoffice.search.metamodel.impl.ContentReferencingSearchServiceCriterionDefinition#lambda$getOrder$3:115 at java.base/java.util.Optional#filter:218 at org.ametys.web.frontoffice.search.metamodel.impl.ContentReferencingSearchServiceCriterionDefinition#getOrder:115 at org.ametys.web.frontoffice.search.requesttime.impl.SaxFormSearchComponent#saxEnumeratorEntry:273 at org.ametys.web.frontoffice.search.requesttime.impl.SaxFormSearchComponent#lambda$saxEnumeratorEntries$3:236 at org.ametys.core.util.LambdaUtils#lambda$wrapConsumer$1:155 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef#accept:184 at java.base/java.util.stream.ReferencePipeline$2$1#accept:179 at java.base/java.util.Iterator#forEachRemaining:133 at java.base/java.util.Spliterators$IteratorSpliterator#forEachRemaining:1939 at java.base/java.util.stream.AbstractPipeline#copyInto:509 at java.base/java.util.stream.AbstractPipeline#wrapAndCopyInto:499 at java.base/java.util.stream.ForEachOps$ForEachOp#evaluateSequential:151 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef#evaluateSequential:174 at java.base/java.util.stream.AbstractPipeline#evaluate:234 at java.base/java.util.stream.ReferencePipeline#forEach:596 at org.ametys.web.frontoffice.search.requesttime.impl.SaxFormSearchComponent#saxEnumeratorEntries:236 at org.ametys.web.frontoffice.search.requesttime.impl.SaxFormSearchComponent#saxFormFields:179 at org.ametys.web.frontoffice.search.requesttime.impl.SaxFormSearchComponent#execute:123 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:749 at org.ametys.web.repository.PageGenerator#_saxZoneItem:538 at org.ametys.web.repository.PageGenerator#_saxZoneItems:408 at org.ametys.web.repository.PageGenerator#_saxZone:335 at org.ametys.web.repository.PageGenerator#generate:253
Reproductible sur la démo https://demo.ametys.org/odf/ en 4.9.8
- created by
-
CMS-12569 [SearchService] Use cache API for instances instead of a map
-
- Closed
-