[Zope] manage_changeProperties not failing when using incorrect propertysheet

Milos Prudek milos.prudek@tiscali.cz
Sat, 01 Dec 2001 15:09:58 +0100


manage_changeProperties, when called on a sheet that does not contain
properties specified in manage_changeProperties argument, does not throw
an error. It seems to execute succesfully, but the properties do not get
updated. At least for Zope 2.4.3.


Example:

Two propertysheets, "Elvis" and "Priscilla". "Elvis" contains property
"age". "Priscilla" does not contain property "age".

propertysheets.Priscilla.manage_changeProperties(age=20) will execute
without errors, but it will have no effect at all.


I believe that it should not execute and that it should throw an
exception/error.


--
Milos Prudek