You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Paco Avila (JIRA)" <ji...@apache.org> on 2006/07/19 11:28:14 UTC

[jira] Created: (JCR-483) Lock tokens reains in session after unlock

Lock tokens reains in session after unlock
------------------------------------------

                 Key: JCR-483
                 URL: http://issues.apache.org/jira/browse/JCR-483
             Project: Jackrabbit
          Issue Type: Bug
          Components: locks
    Affects Versions: 1.0.1
         Environment: Ubuntu Linux Dapper
            Reporter: Paco Avila


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

       

[jira] Assigned: (JCR-483) Lock tokens reains in session after unlock

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Stefan Guggisberg reassigned JCR-483:
-------------------------------------

    Assignee: Stefan Guggisberg

> Lock tokens reains in session after unlock
> ------------------------------------------
>
>                 Key: JCR-483
>                 URL: http://issues.apache.org/jira/browse/JCR-483
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: locks
>    Affects Versions: 1.0.1
>         Environment: Ubuntu Linux Dapper
>            Reporter: Paco Avila
>         Assigned To: Stefan Guggisberg
>
> 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

       

[jira] Updated: (JCR-483) Lock tokens reains in session after unlock

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Jukka Zitting updated JCR-483:
------------------------------

        Fix Version/s: 1.1
    Affects Version/s: 0.9
                       1.0

> 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.0.1, 0.9
>         Environment: Ubuntu Linux Dapper
>            Reporter: Paco Avila
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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

       

[jira] Resolved: (JCR-483) Lock tokens reains in session after unlock

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Jukka Zitting resolved JCR-483.
-------------------------------

    Resolution: Fixed

> 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.0.1, 0.9
>         Environment: Ubuntu Linux Dapper
>            Reporter: Paco Avila
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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

       

[jira] Resolved: (JCR-483) Lock tokens reains in session after unlock

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Stefan Guggisberg resolved JCR-483.
-----------------------------------

    Resolution: Fixed

fixed in svn rev. 423488

> 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

       

[jira] Updated: (JCR-483) Lock tokens reains in session after unlock

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Stefan Guggisberg updated JCR-483:
----------------------------------

    Issue Type: Improvement  (was: Bug)
      Priority: Minor  (was: Major)

correcting type and priority

> 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

       

[jira] Commented: (JCR-483) Lock tokens reains in session after unlock

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] Closed: (JCR-483) Lock tokens reains in session after unlock

Posted by "Paco Avila (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Paco Avila closed JCR-483.
--------------------------


Ok, now it works. Thanks!

> 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

       

[jira] Reopened: (JCR-483) Lock tokens reains in session after unlock

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-483?page=all ]

Jukka Zitting reopened JCR-483:
-------------------------------

             
Reopened to fix the version tags.

> 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.0.1, 0.9
>         Environment: Ubuntu Linux Dapper
>            Reporter: Paco Avila
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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