[Nuxeo-tickets] Re: [Nuxeo Repository] #1848: All functional tests break with error message "TypeError: Can't pickle objects in acquisition wrappers"

Nuxeo Repository trac at nuxeo.com
Tue Jun 26 09:55:59 CEST 2007


#1848: All functional tests break with error message "TypeError: Can't pickle
objects in acquisition wrappers"
--------------------------+-------------------------------------------------
 Reporter:  madarche      |        Owner:  madarche 
     Type:  defect        |       Status:  closed   
 Priority:  P2            |    Milestone:  CPS 3.4.5
Component:  CPS (global)  |      Version:  TRUNK    
 Severity:  normal        |   Resolution:  fixed    
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by madarche):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 Fixed by changeset [51875].

 The problem was caused by the EventRecorder class in
 source:CPS3/products/CPSDefault/trunk/tests/CPSTestCase.py#51072 which was
 committing events in the ZODB.

 The solution has been to use a volatile variable (self._v_events instead
 of self._events) to store the events.

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1848>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.