jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: error in node.save() don't cancel child added node
Date Thu, 03 Aug 2006 18:16:40 GMT
if the save fails, no item is persisted and the node remains in the
transient space of his session.

On 8/3/06, Paco Avila <pavila@git.es> wrote:
> I'm implementing my AccessManager and when an user add a document into a
> folder where he can't write, the application fails on paren node save().
> That is ok because of lack of privilegies. But the "added" node can be
> accesed in user session ¿? Why? If the node failed on save() it should
> be discarded, isn't it?
>
> Thanks!
>
> --
> Paco Avila <pavila@git.es>
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message