[ http://issues.apache.org/jira/browse/JCR-483?page=comments#action_12422169 ] Stefan Guggisberg commented on JCR-483: ---------------------------------------
the spec doesn't mention whether Node.unlock() should remove the token from the session. intuitively i'd agree with you that it should be removed. > Lock tokens reains in session after unlock > ------------------------------------------ > > Key: JCR-483 > URL: http://issues.apache.org/jira/browse/JCR-483 > Project: Jackrabbit > Issue Type: Improvement > Components: locks > Affects Versions: 1.0.1 > Environment: Ubuntu Linux Dapper > Reporter: Paco Avila > Assigned To: Stefan Guggisberg > Priority: Minor > > I do the followin steps: > * node.lock() > * session.getLockTokens() -> This show the lock token generated by the > previous lock. > * node.unlock() > * session.getLockTokens() -> Still show me the generated token ¿?¿? > If I unlock a node, the token should'n be delete from the session? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira