You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2016/11/10 08:36:59 UTC
[jira] [Updated] (OAK-4458) LockImpl.isLockOwningSession not
consistent with unlock-capability
[ https://issues.apache.org/jira/browse/OAK-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated OAK-4458:
------------------------
Fix Version/s: (was: 1.6)
> LockImpl.isLockOwningSession not consistent with unlock-capability
> ------------------------------------------------------------------
>
> Key: OAK-4458
> URL: https://issues.apache.org/jira/browse/OAK-4458
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: jcr
> Reporter: angela
>
> {{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)}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)