Then a exception should be thrown. Which Jackrabbit version are you using? Also helps posting a piece of code which reproduce the issue.
On Fri, Jan 21, 2011 at 1:33 PM, Rojas Buitrago, Sergio <[email protected]>wrote: > I know. > > I'm trying to remove with a user that is not the lock owner. > > > Sergio Rojas Buitrago > Desarrollo Software > Gestión Documental > > Ronda de Toledo s/n > 13003. Ciudad Real > España > T +34 926 27 08 49 > Ext: 237849 > > > [email protected] > www.indra.es > > > > > -----Mensaje original----- > De: Paco Avila [mailto:[email protected]] > Enviado el: viernes, 21 de enero de 2011 13:31 > Para: [email protected] > Asunto: Re: remove a locked node. > > The lock owner can modify the node. > > On Fri, Jan 21, 2011 at 1:21 PM, Rojas Buitrago, Sergio <[email protected] > >wrote: > > > Hi all. > > > > > > > > I have a problem with the locked nodes. > > > > > > > > When I try to remove a locked node, the operation node.remove() doesn't > > throw the LockException. > > > > > > > > I supposed that if a node is locked no operations could be realized over > > the node. > > > > > > > > Somebody can help me ? > > > > > > > > Thanks and regards. > > > > > > > > *Sergio Rojas Buitrago* > > Desarrollo Software > > Gestión Documental > > > > Ronda de Toledo s/n > > 13003. Ciudad Real > > España > > > > T +34 926 27 08 49 > > > > Ext: 237849 > > > > > > > > [email protected] > > www.indra.es > > > > [image: indra] > > > > > > > > ------------------------------ > > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, > > contiene información de carácter confidencial exclusivamente dirigida a > su > > destinatario o destinatarios. Si no es vd. el destinatario indicado, > queda > > notificado que la lectura, utilización, divulgación y/o copia sin > > autorización está prohibida en virtud de la legislación vigente. En el > caso > > de haber recibido este correo electrónico por error, se ruega notificar > > inmediatamente esta circunstancia mediante reenvío a la dirección > > electrónica del remitente. > > Evite imprimir este mensaje si no es estrictamente necesario. > > > > This email and any file attached to it (when applicable) contain(s) > > confidential information that is exclusively addressed to its > recipient(s). > > If you are not the indicated recipient, you are informed that reading, > > using, disseminating and/or copying it without authorisation is forbidden > in > > accordance with the legislation in effect. If you have received this > email > > by mistake, please immediately notify the sender of the situation by > > resending it to their email address. > > Avoid printing this message if it is not absolutely necessary. > > > > > > -- > OpenKM > http://www.openkm.com > http://www.guia-ubuntu.org > > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, > contiene información de carácter confidencial exclusivamente dirigida a su > destinatario o destinatarios. Si no es vd. el destinatario indicado, queda > notificado que la lectura, utilización, divulgación y/o copia sin > autorización está prohibida en virtud de la legislación vigente. En el caso > de haber recibido este correo electrónico por error, se ruega notificar > inmediatamente esta circunstancia mediante reenvío a la dirección > electrónica del remitente. > Evite imprimir este mensaje si no es estrictamente necesario. > > This email and any file attached to it (when applicable) contain(s) > confidential information that is exclusively addressed to its recipient(s). > If you are not the indicated recipient, you are informed that reading, > using, disseminating and/or copying it without authorisation is forbidden in > accordance with the legislation in effect. If you have received this email > by mistake, please immediately notify the sender of the situation by > resending it to their email address. > Avoid printing this message if it is not absolutely necessary. > -- OpenKM http://www.openkm.com http://www.guia-ubuntu.org
