Hello everyone, is there any method (usable from script) to understand if a document is locked by a version or if a version is opened? I tried locked_in_version but it returns always true (it does not worry if the object is locked or not). Thanks to all, Pino _________________________________________________________________ Invia messaggi istantanei gratuitamente! http://www.msn.it/messenger/
Pino Silvestre wrote:
Hello everyone, is there any method (usable from script) to understand if a document is locked by a version or if a version is opened? I tried locked_in_version but it returns always true (it does not worry if the object is locked or not).
Thanks to all, Pino
Please take a look at the zope source, under lib/python/OFS/dtml/main.dtml, this is the dtml file for the managment method of folders, which does what you want to do. HTH, oliver
participants (2)
-
Oliver Bleutgen -
Pino Silvestre