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 2008/11/03 22:02:44 UTC

[jira] Updated: (SLING-717) I18n: messages with no sling:key property stop enumeration of all keys

     [ https://issues.apache.org/jira/browse/SLING-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Klimetschek updated SLING-717:
----------------------------------------

    Attachment: SLING-717.patch

Patch that checks for null values of sling:key and skips them.

> I18n: messages with no sling:key property stop enumeration of all keys
> ----------------------------------------------------------------------
>
>                 Key: SLING-717
>                 URL: https://issues.apache.org/jira/browse/SLING-717
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Alexander Klimetschek
>         Attachments: SLING-717.patch
>
>
> If a sling:message node has no sling:key property, this will stop the ResourceBundleEnumeration, because the null key is added to the resources list in JcrResourceBundle.loadFully() and a null key is also interpreted as the "end marker" in ResourceBundleEnumeration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.