Re: [Zope] _p_resolveConflict not called on conflict

2007-08-08 Thread Chris Withers
Martijn Pieters wrote: See the "Caveats and Dangers" section in: http://svn.zope.org/ZODB/trunk/src/ZODB/ConflictResolution.txt?rev=77078&view=markup Conflict Resolution is a feature of a ZODB storage, and as the storage is the responsibility of the ZEO server, takes place there. We, not q

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
On 8/7/07, Joachim Schmitz <[EMAIL PROTECTED]> wrote: > Yes ZEO is involved, but where do I specify a Products-directory in > etc/zeo.conf ? You can't, AFAICT. ZEO servers only support one Products directory in their INSTANCE_HOME, it appears. -- Martijn Pieters _

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Joachim Schmitz
Martijn Pieters schrieb: On 8/7/07, Joachim Schmitz <[EMAIL PROTECTED]> wrote: but _p_resolveConflict is not invoked. what do I do wrong ? Is ZEO involved? If so, does your ZEO instance have the Product installed (with all it's dependencies), so the ZEO server can access the resolve method?

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
On 8/7/07, Martijn Pieters <[EMAIL PROTECTED]> wrote: > On 8/7/07, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > Is ZEO involved? If so, does your ZEO instance have the Product > > > installed (with all it's dependencies), so the ZEO server can access > > > the resolve method? > > > > Are you sure

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
On 8/7/07, Andreas Jung <[EMAIL PROTECTED]> wrote: > > Is ZEO involved? If so, does your ZEO instance have the Product > > installed (with all it's dependencies), so the ZEO server can access > > the resolve method? > > Are you sure that conflict resolution happens on the ZEO server side? Absolute

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Andreas Jung
--On 7. August 2007 18:40:25 +0200 Martijn Pieters <[EMAIL PROTECTED]> wrote: On 8/7/07, Joachim Schmitz <[EMAIL PROTECTED]> wrote: but _p_resolveConflict is not invoked. what do I do wrong ? Is ZEO involved? If so, does your ZEO instance have the Product installed (with all it's dependenc

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
On 8/7/07, Joachim Schmitz <[EMAIL PROTECTED]> wrote: > but _p_resolveConflict is not invoked. > > what do I do wrong ? Is ZEO involved? If so, does your ZEO instance have the Product installed (with all it's dependencies), so the ZEO server can access the resolve method? -- Martijn Pieters

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Andreas Jung
--On 7. August 2007 16:40:36 +0200 Joachim Schmitz <[EMAIL PROTECTED]> wrote: Hi, I have a class CourseResults, where I defined: def _p_resolveConflict(self, oldstate, committed, newstate): # Apply the changes made in going from old to newstate to # committed

[Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Joachim Schmitz
Hi, I have a class CourseResults, where I defined: def _p_resolveConflict(self, oldstate, committed, newstate): # Apply the changes made in going from old to newstate to # committed import pdb;pdb.set_trace() in my log I see: 2007-08-07 16:26:14 INFO ZPublisher.Con