[Zope] _p_resolveConflict not called on conflict

Andreas Jung lists at zopyx.com
Tue Aug 7 10:49:45 EDT 2007



--On 7. August 2007 16:40:36 +0200 Joachim Schmitz <js at aixtraware.de> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070807/a8528257/attachment.bin


More information about the Zope mailing list