Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1962 Fix and Improve Locking
  3. OAK-4458

LockImpl.isLockOwningSession not consistent with unlock-capability

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • jcr
    • None

    Description

      Lock.isLockHoldingSession is IMO the only way a given application can find out if a given session can unlock a lock node (in contrast to Lock.getLockOwner which by API contract is not suited for that purpose).

      However, the implementation in oak-jcr is not consistent with the unlock implementation and with the internal method LockManagerImpl.canUnlock(NodeDelegatee).

      Attachments

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: