[Zope] DTML form to modifiy folder properties

Dieter Maurer dieter at handshake.de
Tue Sep 14 16:11:01 EDT 2004


aschmidt at fredericksburg.com wrote at 2004-9-14 11:43 -0400:
>Have this DTML form that used to work with 2.6. 
>A folder has a lines property called day1.
>User enters text in a field and submits.
>The current value of day1 is read into a variable.
>The new value is appended and sorted and manageChangeProperties called and all is well.
>
>WAS well... now Zope complains that 'tuple has no method append'

You have been lucky that it worked before Zope 2.7...

Changes like that could disappear non-deterministically!

>Did properties change in 2.7 ??

Yes. In order to protect you against non-deterministic behaviour
by forcing you to use the official API for property changes
(--> "PropertyManager" API, Online Help).

-- 
Dieter


More information about the Zope mailing list