jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1491) UUID check in BundleFsPersistenceManager.getListRecursive() leads to endless loop
Date Thu, 20 Mar 2008 09:25:24 GMT
UUID check in BundleFsPersistenceManager.getListRecursive() leads to endless loop
---------------------------------------------------------------------------------

                 Key: JCR-1491
                 URL: https://issues.apache.org/jira/browse/JCR-1491
             Project: Jackrabbit
          Issue Type: Bug
    Affects Versions: core 1.4.1, 1.4
            Reporter: Marcel Reutegger
            Priority: Minor
             Fix For: core 1.4.2


The UUID comparison in getListRecursive() is wrong and leads to an endless loop when the test
PersistenceManagerIteratorTest.getAllNodeIds() is run on a workspace using BundleFsPersistenceManager.

I'm not sure this always happens, but for sure in a workspace with no content (just root and
jcr:system nodes).

There's also an problem with the test case. In batch mode the after NodeId is set to the last
id returned by the previous get all nodes fetch. This means batch retrieval is never actually
tested, because there is no NodeId after the last one.

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