Personal tools
You are here: Home Members kedai's Home zope 2.6.3 and PropertySheets
« January 2018 »
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Log in


Forgot your password?
Plug
Who - kedai (a) kedai . com . my
Where - Malaysia
What - we do zope/plone, linux solution for network, vpn, mail, etc
 
Document Actions

zope 2.6.3 and PropertySheets

by kedai last modified Jan. 13, 04 09:28 AM

I spent the wee hours of Sunday upgrading my sites to 2.6.3 Everything looks great. Refreshed, visited the sites .. cool, no problem. Or so i thought.

In the early morning, I noticed that objects could not have their properties updated. What the ..?

Quickly reverted back to 2.6.1 (and a half). Later when i was a bit calm, i checked out the CHANGES.txt. Hmm.. there's one mention of PropertyManager. Maybe that was it? I did a diff between the working zope and the b0rked zope's PropertySheets.py and discovered that _updateProperties was changed.

Changed the last part of _updateProperties (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

And that did it. Sent a Bug + Solution to the zope collector.


Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: