manage_changeProperties bug ?
container.manage_changeProperties(sdfsd='fasdfsd') Always returns None, even if the "sdfsd" property is not defined. The Zope Book says: "If no REQUEST is passed, the method returns None on success". (So I undestand that on failure another value should be returned...) With Zope 2.4.1, on Linux. I don't see any reference to this bug in the CHANGES.txt of Zope 2.4.4... -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.- Foro Wireless Madrid http://opennetworks.rg3.net
The implemented behaviour (maybe like generations) is that unknown properties are silently ignored and the manage_changeProperties returns *always* None except a BadRequest exception is raised when you try to modify a read-only property. -aj ----- Original Message ----- From: "Julián Muñoz" <jmunoz@telefonica.net> To: <zope@zope.org> Sent: Monday, May 06, 2002 09:08 Subject: [Zope] manage_changeProperties bug ? container.manage_changeProperties(sdfsd='fasdfsd') Always returns None, even if the "sdfsd" property is not defined. The Zope Book says: "If no REQUEST is passed, the method returns None on success". (So I undestand that on failure another value should be returned...) With Zope 2.4.1, on Linux. I don't see any reference to this bug in the CHANGES.txt of Zope 2.4.4... -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.- Foro Wireless Madrid http://opennetworks.rg3.net _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Jung -
Julián Muñoz