Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20304

Fix webengine bundle messages fallback system

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0-HF30
    • Fix Version/s: QualifiedToSchedule
    • Component/s: WebEngine

      Description

      When running the nuxeo server in french (i.e the JVM Locale is french and no additional config has been done) and a Webengine module define only a messages_en.properties in its i18n folder, the Context.getMessage() method will not fallback on the unique .properties file present and no message will be returned.
      Event if there is a messages.properties defined, it will be ignored.
      In fact, the webengine Messages class is not using the ResourceBundle API which provides the correct fallback system, see ModuleImpl.getMessages() method.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: