Re: Abspeichern von listen mit Referenzen und Neustartproblem

Vladislav Vorobiev <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
> transaction.commit() vergessen?

Das ganze geschieht über Zope2.12 und das Objekt ist ein Persistentes
abgeleitetes Folder.

die konstruktion sieht so aus

object      = Blog()
id=object1
object.id   = id
object.title= id
object.refList=getattr([self.context.pfad, 'object'],
[self.context.pfad, 'object1'])
self.context._setObject(id, ob)

da es mit _setObject obgeschlossen wird ist doch transaction.commit()
überflüssig?

Ich habe  transaction.commit() mal angehängt bringt nichts wie erwartet.



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.