jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Poce <edgarp...@gmail.com>
Subject persistent lock question
Date Fri, 30 Sep 2005 20:37:49 GMT
Hi

I'm not sure which should be the proper behaviour, according to my
understanding of the spec both examples bellow should work.

e.g.
session1>
- login
- create node "test"
- addmix versionable
- save
- lock "test" (with sessionscope false)
- logout

session2>
- login
- remove node "test"
- add new node "test"
- save
- addmix versionable ---> it fails here with a messsage saying the
node is locked.

the curious thing is that it doesn't throw any exception if I change
the sequence to:
session2>
- login
- remove node "test"
- add new node "test"
- addmix versionable
- save

am I missing something?

br,
edgar

Mime
View raw message