[Zope] BoboPOS and nested dictionaries

Andreas Kostyrka andreas@mtg.co.at
Sun, 14 Feb 1999 18:54:33 +0100 (CET)


On Sun, 14 Feb 1999, Jeff Bauer wrote:

> Hi all.
> 
> I'm having a slight problem with BoboPOS and nested dictionaries.
> BoboPOS 2.0.2.  The problem is that changes to a nested dictionary 
> attribute are not being saved.
> 
> Here are two of my workarounds, discovered just this morning.
> 
>     # Dictionary deletions not saved.  Workaround: Delete
>     # the dictionary item, make a shallow copy to a new
>     # dict, and reassign the object attribute to it.
What about self.__changed__(1) ?

Andreas
-- 
Win95: n., A huge annoying boot virus that causes random spontaneous system
     crashes, usually just before saving a massive project.  Easily cured by
     UNIX.  See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.