[ZCM] [ZC] 1176/ 1 Request "zope2.6.3 PropertySheets not updating"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Jan 12 00:00:00 EST 2004
Issue #1176 Update (Request) "zope2.6.3 PropertySheets not updating"
Status Pending, Zope/bug+solution medium
To followup, visit:
http://collector.zope.org/Zope/1176
==============================================================
= Request - Entry #1 by kedai on Jan 11, 2004 11:59 pm
Uploaded: "the zclass prod"
- http://collector.zope.org/Zope/1176/the zclass prod/view
create a small zclass with one property sheets.
try adding an instance and add any properties.
properties will not update.
here's the diff
--- PropertySheets.py 2004-01-12 12:49:10.740987630 +0800
+++ PropertySheets.py.org 2004-01-12 12:48:50.532561305 +0800
@@ -245,7 +245,7 @@
# bleah - can't change kw name in api, so use ugly workaround.
if type(value) == ListType:
value = tuple(value)
- setattr(self.v_self(), id, value)
+ setattr(self, id, value)
def _delProperty(self, id):
# Delete the property with the given id. If a property with the
not sure whether there're other sideeffects, but minimal test with said zclass works ok
==============================================================
More information about the Zope-Collector-Monitor
mailing list