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

Node.restore() may throw InvalidItemStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.3.3
    • 1.4
    • jackrabbit-core, versioning
    • None

    Description

      It seems that ItemManager cache is not maintained correctly. I'm getting InvalidItemStateException: 'propertyId' has been modified externally tryin restore/checkout versionable nodes in single thread.

      ItemState should be evicted from ItemStateManager cache when modified, it seems that status of ItemState is changed to MODIFIED, but itemState remains in the cache.

      Attachments

        1. CheckoutFailure.java
          2 kB
          Przemyslaw Pakulski

        Issue Links

          Activity

            People

              tripod Tobias Bocanegra
              ppakulski Przemyslaw Pakulski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: