InternalVersionManagerBase.getVersionHistoryOfNode should throws 
InconsistentVersioningState when it encounters a runtime exception
-----------------------------------------------------------------------------------------------------------------------------------

                 Key: JCR-3121
                 URL: https://issues.apache.org/jira/browse/JCR-3121
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core, versioning
            Reporter: Julian Reschke
            Assignee: Julian Reschke
             Fix For: 2.2.10, 2.3.2


When the versioning persistence is inconsistent (such as broken hierarchy in 
intermediary nodes), various calls in getVersionHistoryOfNode might fail with 
runtime exceptions.

Catch those and report InconsistentVersioningState  instead, supplying the node 
id of the version history; this will enable the versioning fixup to move away 
the version history (see JCR-3115).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to