[Zope-CMF] FSPropertiesObject glitch

Martijn Pieters mj@digicool.com
Mon, 23 Apr 2001 10:13:32 +0200


On Fri, Apr 20, 2001 at 10:38:51AM -0600, Jonathan Corbet wrote:
> I'm just getting going with CMF, so go easy with me...  For the moment, I'm
> working on coercing CMF into making a site that looks suspiciously like
> the LWN daily page, which means tweaking a lot of things.  As soon as I
> tried to customize generic/stylesheet_properties, though, I got a Python
> barf.  Not the result I had in mind.
> 
> Turns out that FSPropertiesObject.manage_doCustomize wants to call
> FSObject.manage_doCustomize with a "data" parameter that the latter doesn't
> want.  I got things working by just deleting the parameter:

Hi Jon,

This was my fault; I refactored the way the FS* family of objects work and
I had removed the unused 'data' parameter from the factored-out base
class, but I forgot to remove it from the overridden version in
FSPropertiesObject. This is now fixed in CVS.

Hope this helps!

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------