Hi everydoby, sorry to interfere; I reply on behalf of Mark as well; see my comments interleaved.
Met vriendelijke groet, -- Maurizio Pillitu - 0031 (0)615655668 Sourcesense - making sense of Open Source: http://www.sourcesense.com ----- Bart van der Schans <[EMAIL PROTECTED]> wrote: > Hi Mark, > > So if I understand you correctly the locking (timeout) works fine, but > a > users gets an exception while trying to save a locked document instead > > of a user friendly message, right? Yes, correct. Other issue related with locking: 1. Open a document; it gets correctly locked 2. Publish the document; it gets closed, but not unlocked If the document is not published, but instead closed using the 'Close document' button, it gets correctly unlocked. Ciao, Maurizio > > Regards, > Bart > > > Amon wrote: > > Best Hippos, > > > > A small issue with the locking mechanism. > > > > Try to do the following: > > 1. enable locking (set lock timeout to 60 sec) > > 2. open a document with a user x > > 3. wait 61 sec. > > 4 open the same document as user x with user y > > 5. try to save the document that user x had opened. > > > > result: > > user x gets to see an exception: > > avaException: nl.hippo.cms.contentmodel.ContentModelException: > Cannot commit changes to document > http://10.0.43.14:8080/ictu/files/ictu.preview/content/nl/producten/belastingen/Rioolbelasting.xml > because it is locked by user y etc etc > > > > expected result: > > a user-friendly message!. > > > > Greetings, > > Mark > > > > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! Download today it's > FREE! > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/******************************************** > > Hippocms-dev: Hippo CMS development public mailinglist > > > -- > > Hippo > Oosteinde 11 > 1017WT Amsterdam > The Netherlands > Tel +31 (0)20 5224466 > ------------------------------------------------------------- > [EMAIL PROTECTED] / http://www.hippo.nl > -------------------------------------------------------------- > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
