You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Kuckartz <A....@ping.de> on 2004/05/11 22:00:58 UTC

Re: Could not check out the file

I think that this is a critical problem. Lenya administrators should not have to
bother breaking locks.

Is there no way to handle "check out without a following check in"
automatically?

Andreas

----- Original Message -----
From: "Gregor J. Rothfuss" <gr...@apache.org>
To: "Lenya Users List" <le...@cocoon.apache.org>
Sent: Tuesday, May 11, 2004 9:29 PM
Subject: Re: Could not check out the file


> Kirk Storer wrote:
>
> > When I try to edit a specific document (as levi) I get
> > the following message.
> >
> > Could not check out the file
> >
> > Reason : The resource has already been checked out by
> > another user
> > User: alice
> > Date: Thu Apr 29 15:51:50 EDT 2004
> > Filename: /content/authoring/asdf/index_en.xml
> >
> > If I login as alice how do I release the file so that
> > other users can edit it.
>
> unfortunately, currently there is no GUI way to break a lock. you have
> to go into content/rcml/content/authoring/yourpage/index_en.xml.rcml and
> look at the entries in there
>
> <CheckOut>
> <Identity>lenya</Identity>
> <Time>1083252253647</Time>
> </CheckOut>
>
> if the most recent (the ones on top) are CheckOut and no corresponding
> CheckIn you have a lock. you can break the lock by removing the CheckOut
> line.
>
> i updated the FAQ http://wiki.cocoondev.org/Wiki.jsp?page=LenyaFAQ
>
> we really need to have an admin function to do that.
>
>
>
>
> --
> Gregor J. Rothfuss
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://wyona.com                   http://cocoon.apache.org/lenya
> gregor.rothfuss@wyona.com                       gregor@apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Could not check out the file

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
How about a kind of session timeout.

The user can check out the file for lets say 5-10 min after that he will 
get a system message that the leash is expired.

For offline editing we could use that leash system in a 
"rent-a-document" manner. You can check out the doc for a certain time 
after that the scheduler releases the lock

King regards
thorsten
Andreas Hartmann wrote:

> Andreas Kuckartz wrote:
>
>> I think that this is a critical problem. Lenya administrators should 
>> not have to
>> bother breaking locks.
>>
>> Is there no way to handle "check out without a following check in"
>> automatically?
>
>
> The system could check if the other editing user is still logged in
> and otherwise check in the document ...
>
> <random-thought>
> Maybe someone wants to implement optimistic offline lock :)
> </random-thought>
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
>


-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

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. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Could not check out the file

Posted by Rolf Kulemann <ro...@apache.org>.
On Wed, 2004-05-12 at 09:37, Andreas Hartmann wrote:
> Andreas Kuckartz wrote:
> 
> > I think that this is a critical problem. Lenya administrators should not have to
> > bother breaking locks.
> > 
> > Is there no way to handle "check out without a following check in"
> > automatically?
> 
> The system could check if the other editing user is still logged in
> and otherwise check in the document ...

I think the lock/unlock behaviour should be configurable on publication
level.

-- 
Regards,

    Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Could not check out the file

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

> Andreas Kuckartz wrote:
>
>> I think that this is a critical problem. Lenya administrators should 
>> not have to
>> bother breaking locks.
>>
>> Is there no way to handle "check out without a following check in"
>> automatically?
>
>
> The system could check if the other editing user is still logged in
> and otherwise check in the document ...
>
> <random-thought>
> Maybe someone wants to implement optimistic offline lock :)
> </random-thought>


I think the problem is to recognize when a session is over, because
the servlet API has become more restrictive.

Many people don't really logout explicitely.

But I think for productive use of Lenya it's very important to see
what users are being loged in.

Michi

>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Could not check out the file

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Wed, 12 May 2004, Andreas Hartmann wrote:

> Andreas Kuckartz wrote:
>
> > I think that this is a critical problem. Lenya administrators should not have to
> > bother breaking locks.
> >
> > Is there no way to handle "check out without a following check in"
> > automatically?
>
> The system could check if the other editing user is still logged in
> and otherwise check in the document ...
>

I thought the information whether a user is logged is not available
yet?

> <random-thought>
> Maybe someone wants to implement optimistic offline lock :)
> </random-thought>
>

Another thought: What if the administrator of a  publication can edit
every file and is therefore able to release the lock?  I know, not a very
sophisticated method ;-)

Jann


---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  jann.forrer@id.unizh.ch
(  )   phone: +41 1 63 56772
 \ (   fax:   +41 1 63 54505
  \_)  http://www.id.unizh.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Could not check out the file

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

> Andreas Kuckartz wrote:
>
>> I think that this is a critical problem. Lenya administrators should 
>> not have to
>> bother breaking locks.
>>
>> Is there no way to handle "check out without a following check in"
>> automatically?
>
>
> The system could check if the other editing user is still logged in
> and otherwise check in the document ...
>
> <random-thought>
> Maybe someone wants to implement optimistic offline lock :)
> </random-thought>


I think the problem is to recognize when a session is over, because
the servlet API has become more restrictive.

Many people don't really logout explicitely.

But I think for productive use of Lenya it's very important to see
what users are being loged in.

Michi

>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Could not check out the file

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Wed, 12 May 2004, Andreas Hartmann wrote:

> Andreas Kuckartz wrote:
>
> > I think that this is a critical problem. Lenya administrators should not have to
> > bother breaking locks.
> >
> > Is there no way to handle "check out without a following check in"
> > automatically?
>
> The system could check if the other editing user is still logged in
> and otherwise check in the document ...
>

I thought the information whether a user is logged is not available
yet?

> <random-thought>
> Maybe someone wants to implement optimistic offline lock :)
> </random-thought>
>

Another thought: What if the administrator of a  publication can edit
every file and is therefore able to release the lock?  I know, not a very
sophisticated method ;-)

Jann


---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  jann.forrer@id.unizh.ch
(  )   phone: +41 1 63 56772
 \ (   fax:   +41 1 63 54505
  \_)  http://www.id.unizh.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Could not check out the file

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Kuckartz wrote:

> I think that this is a critical problem. Lenya administrators should not have to
> bother breaking locks.
> 
> Is there no way to handle "check out without a following check in"
> automatically?

The system could check if the other editing user is still logged in
and otherwise check in the document ...

<random-thought>
Maybe someone wants to implement optimistic offline lock :)
</random-thought>

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Could not check out the file

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Kuckartz wrote:

> I think that this is a critical problem. Lenya administrators should not have to
> bother breaking locks.
> 
> Is there no way to handle "check out without a following check in"
> automatically?

The system could check if the other editing user is still logged in
and otherwise check in the document ...

<random-thought>
Maybe someone wants to implement optimistic offline lock :)
</random-thought>

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org