Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3147

Oak: i18n dictionaries observation no longer works

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • i18n 2.2.6
    • i18n 2.2.8
    • Extensions, Oak

    Description

      When running Sling with Oak, the JcrResourceBundleProvider [0] in the i18n bundle apparently no longer gets the observation events for sling:message nodes in the JCR. This means that changing a string in the repo or installing a package with new translations won't have an effect if the resource bundle is already loaded in memory.

      Workaround is to restart the i18n bundle after every string change.

      [0] http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexander.klimetschek Alexander Klimetschek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: