[Zope] Versions
Pino Silvestre
ehigionni@hotmail.com
Wed, 19 Feb 2003 11:13:25 +0000
I had a problem with versions.
I realized this Python Script.
request = container.REQUEST
response = request.RESPONSE
idVersion = 'modifyNews'
container.manage_addProduct['OFSP'].manage_addVersion(idVersion, title="")
version = getattr(container, idVersion)
version.enter(request, response)
idDoc = 'doc'
version.manage_addProduct['OFSP'].manage_addDTMLDocument(idDoc,title="")
doc = getattr(container, idDoc)
content = "Today date: " + str(DateTime())
doc.manage_upload(content)
version.leave(request, response)
After this, when I go back to manage_main I would expect 'doc' document has
a red locked ball.
But it is not. I think it is a transaction problem, but how can I resolve
it?
Thannks, Pino
_________________________________________________________________
Comunica in un ’altra dimensione con MSN Extra Storage!
http://www.msn.it/msnservizi/es/extra_storage_tag/