logo       

Re: conflict resolution for PersistentList: msg#00111

web.zope.zodb

Subject: Re: conflict resolution for PersistentList

On Mon, 2004-05-24 at 09:20, Diez B. Roggisch wrote:
> Having a _p_resolveConflict on UserList didn't help me as it doesn't get
> called, while having one at Parent gets called but contains the pickled
> version as state - nothing I can work with.

I don't understand why an _p_resolveConflict on a PersistentList
subclass wouldn't be called. (You do mean PersistentList instead of
UserList, right?) That sounds like a bug.

class MyList(PersistentList):
def _p_resolveConflict(...):
pass # do something

Jeremy



_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx
http://mail.zope.org/mailman/listinfo/zodb-dev



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise