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

Param missing into captcha_impl template of CMS plugin

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.19, 4.2.7, 4.3.0
    • 4.3.0
    • None
    • None

      How to reproduce it :

      • into your skin, override captcha template with these params : placeholder-i18n, placeholder-catalogue and placeholder
        <xsl:call-template name="captcha">
                            <xsl:with-param name="key-name">captcha-key</xsl:with-param>
                            <xsl:with-param name="key-id">signup-<xsl:value-of select="$uniqueId"/>-captcha-key</xsl:with-param>
                            <xsl:with-param name="placeholder-i18n" select="true()"/>
                            <xsl:with-param name="placeholder">PLUGINS_WEB_SERVICE_USER_SIGNUP_VIEW_CAPTCHA</xsl:with-param>
                            <xsl:with-param name="placeholder-catalogue">plugin.web</xsl:with-param>
      • the i18n key is not translated because template "captcha" calls the template "captcha_impl" without the placeholder-i18n neither the placeholder-catalogue.

          [CMS-10036] Param missing into captcha_impl template of CMS plugin

          Laure Lopez made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.2.7 [ 15517 ]
          Fix Version/s Original: 4.2.6 [ 15490 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.1.19 [ 15508 ]
          Fix Version/s Original: 4.1.18 [ 15417 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.2.6 [ 15490 ]
          Fix Version/s Original: 4.2.5 [ 15416 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.1.18 [ 15417 ]
          Fix Version/s New: 4.2.5 [ 15416 ]
          Fix Version/s New: 4.3.0 [ 14678 ]
          Raphaël Franchet made changes -
          Description Original: How to reproduce it :
           - into your skin, surcharge captcha template with these params : placeholder-i18n, placeholder-catalogue and placeholder
          {code:java}
          <xsl:call-template name="captcha">
                              <xsl:with-param name="key-name">captcha-key</xsl:with-param>
                              <xsl:with-param name="key-id">signup-<xsl:value-of select="$uniqueId"/>-captcha-key</xsl:with-param>
                              <xsl:with-param name="placeholder-i18n" select="true()"/>
                              <xsl:with-param name="placeholder">PLUGINS_WEB_SERVICE_USER_SIGNUP_VIEW_CAPTCHA</xsl:with-param>
                              <xsl:with-param name="placeholder-catalogue">plugin.web</xsl:with-param>{code}

           - the i18n key is not translated because template "captcha" calls the template "captcha_impl" without the placeholder-i18n neither the placeholder-catalogue.
          New: How to reproduce it :
           - into your skin, override captcha template with these params : placeholder-i18n, placeholder-catalogue and placeholder
          {code:java}
          <xsl:call-template name="captcha">
                              <xsl:with-param name="key-name">captcha-key</xsl:with-param>
                              <xsl:with-param name="key-id">signup-<xsl:value-of select="$uniqueId"/>-captcha-key</xsl:with-param>
                              <xsl:with-param name="placeholder-i18n" select="true()"/>
                              <xsl:with-param name="placeholder">PLUGINS_WEB_SERVICE_USER_SIGNUP_VIEW_CAPTCHA</xsl:with-param>
                              <xsl:with-param name="placeholder-catalogue">plugin.web</xsl:with-param>{code}

           - the i18n key is not translated because template "captcha" calls the template "captcha_impl" without the placeholder-i18n neither the placeholder-catalogue.
          Laure Lopez created issue -

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: