--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
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).
-aj
pgpszVOV6rGTz.pgp
Description: PGP signature
_______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
