[Zope3-dev] Persistence?

Steve Alexander steve@cat-box.net
Sun, 08 Jun 2003 18:42:33 +0300


Marcus J. Ertl wrote:
> On Sun, 2003-06-08 at 17:13, Steve Alexander wrote:
> 
> Hi!
>  
> 
>>>I'm not sure, if subscribe.append(...) starts the persistence maschinery
>>>of zope.
>>
>>Try adding the statement
>>   self._p_changed = 1
>>just before the line
>>   subscribers.append((token, filter))
>>And see if that fixes the problems you're seeing.
> 
> 
> Sorry, but adding wrapped_self._p_changed = 1 changed nothing!

Perhaps try clean_self._p_changed = 1

Although, that should have the same effect.

--
Steve Alexander