InfiniteLoop in bundle binding
------------------------------
Key: JCR-1701
URL: https://issues.apache.org/jira/browse/JCR-1701
Project: Jackrabbit
Issue Type: Bug
Affects Versions: 1.5
Reporter: Matej Knopp
Priority: Critical
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.