[ZCM] [ZC] 1176/ 2 Resolve "zope2.6.3 PropertySheets not updating"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri Jan 16 10:23:44 EST 2004
Issue #1176 Update (Resolve) "zope2.6.3 PropertySheets not updating"
Status Resolved, Zope/bug+solution medium
To followup, visit:
http://zope.org/Collectors/Zope/1176
==============================================================
= Resolve - Entry #2 by Brian on Jan 16, 2004 10:23 am
Status: Pending => Resolved
Thanks - fixed for 2.6.4
-Brian
________________________________________
= Request - Entry #1 by kedai on Jan 11, 2004 11:59 pm
Uploaded: "the zclass prod"
- http://zope.org/Collectors/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