[Zope] boolean property bug
Aleksander Salwa
ololo@zeus.polsl.gliwice.pl
Wed, 2 Aug 2000 22:09:29 +0200 (CEST)
On Mon, 31 Jul 2000, Jonothan Farr wrote:
> You should submit this to the collector, preferable with a patch! ;)
> Otherwise it's likely to get lost in the chaos of the list.
>
> http://classic.zope.org:8080/Collector
So I did it. (Collector #1495)
You can patch your Zope on your own by replacing some code in file
lib/python/OFS/PropertySheets.py. In class PropertySheet, change method
manage_editProperties to this:
def manage_editProperties(self, REQUEST):
"""Edit object properties via the web."""
for prop in self.propertyMap():
name=prop['id']
value=REQUEST.get(name, '')
self._updateProperty(name, value)
return MessageDialog(
title ='Success!',
message='Your changes have been saved',
action ='manage')
It works for me, hope it helps.
ololo