Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.7
    • Component/s: locks
    • Labels:
      None

      Description

      The lock tokens for open scoped locks are currently tied to the session which created the lock. If the session dies (for whatever reason) there is no way to recover the lock and unlock the node.
      There is a theoretical way of adding the lock token to another session, but in most cases the lock token is not available.

      Fortunately, the spec allows to relax this behaviour and I think it would make sense to allow all sessions from the same user to unlock the node - this is still in compliance with the spec but would make unlocked locked nodes possible in a programmatic way.

      1. JCR-2859.diff
        14 kB
        Julian Reschke
      2. JCR-2859.diff
        8 kB
        Julian Reschke
      3. JCR-2859.patch
        5 kB
        Janandith Uditha Jayawardena
      4. OpenScopeLockTest.java
        3 kB
        Janandith Uditha Jayawardena

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Julian Reschke
              Reporter:
              Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development