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

wrong i18n catalogue when inside an XSL file imported from another via a service source

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • 4.0M6
    • None
    • None

      How to reproduce:

      • Inside an XSL of a service (plugin-xxx/pages/services/service.xsl), import another XSL with <xsl:import href="service:xxx://pages/services/service-utils.xsl"/>
      • In this XSL, try to display an i18n text without any hardcoded catalogue : <i18n:text i18n:key="I18N_KEY" />
      • The message will not be found into the i18n catalogue of the current plugin. It works well if you do the same in the previous XSL (plugin-xxx/pages/services/service.xsl)

      According to the error log, it search into the 'messages' catalogue which is not found.

      Error obtaining catalogue 'messages' from  <[Ljava.lang.String;@7a6b2d79> for locale fr

            Unassigned Unassigned
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: