[Zope] _p_resolveConflict not called on conflict

Joachim Schmitz js at aixtraware.de
Tue Aug 7 10:40:36 EDT 2007


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.Conflict ConflictError at 
/uniben/campus/students/U315204/study_course/create_level: database 
conflict error (oid 0x37fc36, class 
Products.WAeUP_SRP.WAeUPTables.CourseResults, serial this txn started 
with 0x036f83420cc02caa 2007-08-07 14:26:02.988441, serial currently 
committed 0x036f834237c65b99 2007-08-07 14:26:13.072227) (1 conflicts (0 
unresolved) since startup at Tue Aug  7 16:15:17 2007)


but _p_resolveConflict is not invoked.

what do I do wrong ?

-- 
Gruß Joachim


More information about the Zope mailing list