Hi,
On Wed, Apr 23, 2008 at 2:49 PM, Stefan Guggisberg
<[EMAIL PROTECTED]> wrote:
> the following code will trigger the InvalidItemStateException:
>
> n1.getNode("jcr:content").setProperty("jcr:data", testcontent +
> ", session 1");
>
> n2.getNode("jcr:content").setProperty("jcr:data", testcontent +
> ", session 2");
> n2.save();
> n1.save();
I would argue that it shouldn't throw the exception. IMHO the only
time setProperty() should throw an exception is if another session has
removed the parent node.
BR,
Jukka Zitting