--On 7. August 2007 16:40:36 +0200 Joachim Schmitz <[EMAIL PROTECTED]> wrote:


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)

No idea but you might try to pdb in ZODB/Connection.py where the _p_resovleConflict() handle is called (if available).


Attachment: pgpszVOV6rGTz.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to