jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1701) InfiniteLoop in bundle binding
Date Tue, 16 Sep 2008 16:22:44 GMT

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

Jukka Zitting updated JCR-1701:
-------------------------------

    Affects Version/s:     (was: 1.5)
        Fix Version/s:     (was: 1.5)
                       core 1.4.6

Merged to the 1.4 branch in revision 695964. We need this in the branch since JCR-1632 is
also there.

> InfiniteLoop in bundle binding
> ------------------------------
>
>                 Key: JCR-1701
>                 URL: https://issues.apache.org/jira/browse/JCR-1701
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Matej Knopp
>            Assignee: Stefan Guggisberg
>            Priority: Critical
>             Fix For: core 1.4.6
>
>
> Starting with revision 679389 this code got into BundleBinding (line 118)
>    while (name != null) {
>             // skip redundant primaryType, mixinTypes and uuid properties
>             if (name.equals(NameConstants.JCR_PRIMARYTYPE)
>                 || name.equals(NameConstants.JCR_MIXINTYPES)
>                 || name.equals(NameConstants.JCR_UUID)) {
>                 continue;
>             }
>             PropertyId pId = new PropertyId(bundle.getId(), name);
>             NodePropBundle.PropertyEntry pState = readPropertyEntry(in, pId);
>             bundle.addProperty(pState);
>             name = readIndexedQName(in);
>         }
> It causes an infinite loop when name is one of the constants.

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


Mime
View raw message