-
Bug
-
Resolution: Fixed
-
Major
-
1.3.0
-
None
-
None
Comment reproduire le bug
- Accéder à une page comportant un élément pédagogique
- Effectuer une modification dans le contenu
- Proposer le contenu
Comportement constaté
- L'email de notification comporte une url du type :
http://mondomaine.fr/www/index.html?uitool=uitool-page,id:'course://*null*/mbj-11?rootId=page://caa48654-d3b0-4b95-b1a7-5b4e2c155ada&courseId=courseContent://326cdd06-3e93-4067-950c-f4f2e316662e'
- Après avoir cliqué dessus on obtient l'erreur suivante :
There's no virtual object named null at Ametys path /ametys-internal:sites/www/ametys-internal:sitemaps/fr/formations/offre_de_formation org.ametys.plugins.repository.UnknownAmetysObjectException: There's no virtual object named null at Ametys path /ametys-internal:sites/www/ametys-internal:sitemaps/fr/formations/offre_de_formation at org.ametys.plugins.repository.AmetysObjectResolver.resolveVirtualChild(AmetysObjectResolver.java:534) at org.ametys.plugins.repository.jcr.TraversableAmetysObjectHelper.getChild(TraversableAmetysObjectHelper.java:145) at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObjectFactory.getChild(DefaultTraversableAmetysObjectFactory.java:51) at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject.getChild(DefaultTraversableAmetysObject.java:61) at org.ametys.plugins.odfweb.repository.CoursePageFactory.getAmetysObjectById(CoursePageFactory.java:57) at org.ametys.plugins.odfweb.repository.CoursePageFactory.getAmetysObjectById(CoursePageFactory.java:32) at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:241) at org.ametys.web.repository.page.generators.PageInformationGenerator.generate(PageInformationGenerator.java:113) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:267) at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:128) at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)