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

Constant items missing in the ODF contents pipelines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.1, 1.1
    • 1.0
    • Formations
    • 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>
      

            delphine Delphine Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: