[silva-dev] silva-2.2: comments

Marc Petitmermet petitmermet at mat.ethz.ch
Fri Jun 19 16:47:44 CEST 2009


On 17. Jun 2009, at 17. Jun 2009|04:09 Uhr, Andy Altepeter wrote:

>>> This locking appears to be non-functional in 2.1 and the trunk.
>>> Quickly
>>> grepping through Bethel's 2.0 in production, I'm not sure if it even
>>> works
>>> there since I can't find what I think I'm looking for.
>>>
>>> What version of Silva are you using where locking works?  And, does
>>> locking
>>> also work with kupu, or just the forms editor?  Does locking work
>>> with other
>>> versioned content objects as well?
>>
>> we have here Silva 1.5.13. locking is independent of editor used. i
>> can only speak of silva documents. i think that i last saw or heard
>> that the locking is working was two or three weeks ago.
>
> Ok, I've finally tracked this down.  I ended up testing buildouts  
> all the way
> back to the 1.5 branch, but none of the lock a document when editing  
> in kupu.
>
> I was able to cause a lock to be created by switching to the forms  
> editor, and
> creating a paragraph (doing any action will suffice).  This then  
> locked the
> document, so that accessing it as another user displayed the "locked"
> message.
>
> I don't believe kupu, or any other type of content object for that  
> matter, was
> ever designed to lock the object being edited.  This seems like a  
> glaring
> omission -- an oversight that should be fixed.  I'm left wondering  
> how this
> should be fixed.  There are a few options:
>
> 1) expand the locking mechanism on documents only, such that when  
> kupu is
> loaded the document is also locked.  Ensure the lock is removed  
> whenever the
> document is published.
> 2) expand the locking mechanism to all versioned content object's  
> edit tab
> 3) expand the locking mechanism to all object's edit tab
> And, in addition to the edit tab decision above:
> A) expand locking mechanism for any tab which allow changing of  
> content.  This
> would include (only?) the properties tab.
>
> Thoughts?

of course i would like to have a locking mechanism for every versioned  
content;-) what about the publish tab? shouldn't it be locked as well  
when somebody is editing a document? locking becomes more important in  
larger sites and when multiple people have editing rights to the same  
documents.

Sylvain talked about zc.relationship. could this product be used to  
not only store the id and path of an object but also the status/ 
revision of a document and if it's locked by whom? this would also  
allow to add some nice features to the smi. e.g.: imagine logging into  
silva and you see a list of objects that are currently in revision  
"draft" and where you are the last author. this list would be like  
bookmarks and would allow you to jump to your work without the need to  
navigate through the smi (which, in my opinion, is still not optimal).  
this could be implemented like an rss feed where the user can  
configure the filter. please, can i have a "silva code source" which  
would allow me to expand the smi itself?

regards,
marc

p.s.: infrae should open up a forum (using SilvaForum with openid, of  
course) for discussing future enhancements of silva. i have still an  
idea or two;-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2429 bytes
Desc: not available
Url : http://lists.infrae.com/pipermail/silva-dev/attachments/20090619/a2ff7443/attachment.bin 


More information about the silva-dev mailing list