You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Alexander Klimetschek (JIRA)" <ji...@apache.org> on 2013/10/04 21:57:43 UTC
[jira] [Updated] (SLING-3147) Oak: i18n dictionaries observation no
longer works
[ https://issues.apache.org/jira/browse/SLING-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Klimetschek updated SLING-3147:
-----------------------------------------
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
was:
When running Sling with Oak, the [JcrResourceBundleProvider|http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java] 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.
> Oak: i18n dictionaries observation no longer works
> --------------------------------------------------
>
> Key: SLING-3147
> URL: https://issues.apache.org/jira/browse/SLING-3147
> Project: Sling
> Issue Type: Bug
> Components: Extensions, Oak
> Affects Versions: i18n 2.2.6
> Reporter: Alexander Klimetschek
> Labels: i18n
>
> 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
--
This message was sent by Atlassian JIRA
(v6.1#6144)