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

          Carsten Ziegeler created issue -
          Janandith Uditha Jayawardena made changes -
          Field Original Value New Value
          Attachment OpenScopeLockTest.java [ 12469073 ]
          Janandith Uditha Jayawardena made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Janandith Uditha Jayawardena made changes -
          Attachment JCR-2859.patch [ 12471487 ]
          Julian Reschke made changes -
          Assignee Julian Reschke [ reschke ]
          Julian Reschke made changes -
          Attachment JCR-2859.diff [ 12508685 ]
          Julian Reschke made changes -
          Link This issue is blocked by JCR-3195 [ JCR-3195 ]
          Julian Reschke made changes -
          Attachment JCR-2859.diff [ 12508756 ]
          Julian Reschke made changes -
          Attachment JCR-2859.diff [ 12508685 ]
          Julian Reschke made changes -
          Link This issue is related to JCR-3199 [ JCR-3199 ]
          Julian Reschke made changes -
          Status Patch Available [ 10002 ] In Progress [ 3 ]
          Affects Version/s 2.2 [ 12314844 ]
          Julian Reschke made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 2.5 [ 12319280 ]
          Resolution Fixed [ 1 ]
          Julian Reschke made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Julian Reschke made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          Julian Reschke made changes -
          Attachment JCR-2859.diff [ 12510394 ]
          Julian Reschke made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jukka Zitting made changes -
          Fix Version/s 2.4 [ 12318241 ]
          Fix Version/s 2.5 [ 12319280 ]
          Jukka Zitting made changes -
          Fix Version/s 2.3.7 [ 12319482 ]
          Fix Version/s 2.4 [ 12318241 ]
          Jukka Zitting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development