[ 
https://issues.apache.org/jira/browse/SLING-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822600#comment-13822600
 ] 

Bertrand Delacretaz commented on SLING-3147:
--------------------------------------------

I have added some tests to the bundles/jcr/it-jackrabbit-oak module in 
http://svn.apache.org/r1541972 to try to reproduce the problem there, but 
observation works just fine in those tests. We'll need to dig deeper to find 
out what's different between both sets of tests.

> 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)

Reply via email to