Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-2086

Bug in cms.xsl preventing a CMS application to access the back office with IE

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1
    • 3.0
    • Workspace : CMS
    • None

      cms.xsl defines two "title" and "applicationTitle" templates, which are the same, and use the latter in a <script> block:

      <xsl:template name="title">
          <title><i18n:text i18n:catalogue="application" i18n:key="APPLICATION_PRODUCT_LABEL"/></title>
      </xsl:template>
      <xsl:template name="applicationTitle">
          <title><i18n:text i18n:catalogue="application" i18n:key="APPLICATION_PRODUCT_LABEL"/></title>
      </xsl:template>
      
      [...]
      
      var ribbon = new org.ametys.fluent.RibbonPanel({<xsl:text/>
          <xsl:text/>applicationTitle: '&lt;span class="x-fluent-tab-panel-header-title-extension"&gt;<xsl:call-template name="applicationTitle"/>&lt;/span&gt;',<xsl:text/>
      

      This leads to a <title> tag being inserted in the <script> block. Firefox ignores the problem, but IE doesn't display the page.

      The <title> tag should be deleted from the applicationTitle template.

          [CMS-2086] Bug in cms.xsl preventing a CMS application to access the back office with IE

          There are no comments yet on this issue.

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

              Created:
              Updated:
              Resolved: