Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3121

InternalVersionManagerBase.getVersionHistoryOfNode should throw InconsistentVersioningState when it encounters a runtime exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • jackrabbit-core, versioning
    • None

    Description

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

      Attachments

        1. JCR-3121.patch
          1 kB
          Julian Reschke

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: