You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2008/07/30 23:43:31 UTC
[jira] Created: (JCR-1701) InfiniteLoop in bundle binding
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.
[jira] Assigned: (JCR-1701) InfiniteLoop in bundle binding
Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guggisberg reassigned JCR-1701:
--------------------------------------
Assignee: Stefan Guggisberg
> 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
> Assignee: Stefan Guggisberg
> 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.
[jira] Updated: (JCR-1701) InfiniteLoop in bundle binding
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (JCR-1701) InfiniteLoop in bundle binding
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1701:
-------------------------------
Component/s: jackrabbit-core
> 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.
[jira] Resolved: (JCR-1701) InfiniteLoop in bundle binding
Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guggisberg resolved JCR-1701.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.5
ouch! :(
fixed in svn r 681287
thanks for reporting this issue!
> 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
> Assignee: Stefan Guggisberg
> Priority: Critical
> Fix For: 1.5
>
>
> 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.