-
Bug
-
Resolution: Fixed
-
Major
-
1.0
-
None
The ODF content rendering pipelines miss some constant labels. For instance, the subprogram HTML pipeline miss the distance_learning_modalities constant items SAXed in the rendering XSL.
Either add the missing constants or create and use a "constants/all.xml" pipeline which generates an exhaustive list of constant items data, which would prevent errors.
<map:match pattern="org.ametys.plugins.odf.Content.subProgram.html"> <map:act type="get-plugin-name"> <map:aggregate element="view"> <map:part src="cocoon:/content-program"/> <map:part src="cocoon:/constants/getList/{request-attr:sitemapLanguage}/program_type"/> <map:part src="cocoon:/constants/getList/{request-attr:sitemapLanguage}/place"/> <map:part src="cocoon:/constants/getList/{request-attr:sitemapLanguage}/level"/> <map:part src="cocoon:/constants/getList/{request-attr:sitemapLanguage}/domain_disciplines"/> <map:part src="cocoon:/constants/getList/{request-attr:sitemapLanguage}/internship"/> </map:aggregate>