[Erp5-report] ERP5_z212 r35024 : 3478 Tests, 18 Errors, 19 Failures, 38 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu May 6 22:40:49 CEST 2010


Test Suite: ERP5_z212
Revision: 35024
Result: FAIL

All tests: 3478
Failures: 19
Errors: 18
Skips: 38


The following tests failed:

  testDms                                            (3 errors)
   test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
   test_ImageSizePreference (testDms.TestDocumentWithSecurity)
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

  testERP5DocumentSyncML                             (1 failures)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Simulation                                 (5 failures, 1 skips)
   test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)

  testEditorField                                    (3 failures)
   test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)

  testLegacyProductionOrder                          (1 failures)
   test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)

  testNotificationTool                               (11 errors)
   test_01_defaultBehaviour (testNotificationTool.TestNotificationToolWithCRM)
   test_02_noSender (testNotificationTool.TestNotificationToolWithCRM)
   test_03_noSubject (testNotificationTool.TestNotificationToolWithCRM)
   test_04_noRecipient (testNotificationTool.TestNotificationToolWithCRM)
   test_05_noMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_06_simpleMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_07_AttachmentMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_08_MultiRecipient (testNotificationTool.TestNotificationToolWithCRM)
   test_10_PersonNotification (testNotificationTool.TestNotificationToolWithCRM)
   test_11_TextMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_12_HtmlMessage (testNotificationTool.TestNotificationToolWithCRM)

  testOOoConversionCache                             (2 failures, 1 errors)
   test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
   test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
   test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testPasswordTool                                   (3 errors)
   test_01_checkPasswordTool (testPasswordTool.TestPasswordToolWithCRM)
   test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordToolWithCRM)
   test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordToolWithCRM)

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

  testSerializeForm                                  (1 failures)
   test checking if the field values are of the proper type.

  testTemplate                                       (3 failures)
   test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation

  testXHTML                                          (1 failures)
   test_configurationOfFieldLibrary (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testBase                                           (3 skips)
   test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (2 skips)

  testCMFActivity                                    (1 skips)

  testERP5Catalog                                    (3 skips)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testMRP                                            (4 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTranslation                                    (1 skips)
-------------- next part --------------

ERROR: test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 137, in setSystemPreference
    portal_type=portal_type)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


ERROR: test_ImageSizePreference (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 137, in setSystemPreference
    portal_type=portal_type)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


ERROR: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 137, in setSystemPreference
    portal_type=portal_type)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 910, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 6)
AssertionError: 5 != 6


FAIL: test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1011, in test_03_PackingListChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ChangePackingListStartDate
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithDecision
      Tic
      CheckPackingListIsSolved
      CheckPackingListIsNotDivergent
    > CheckSimulationStartDateUpdated
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 433, in stepCheckSimulationStartDateUpdated
    self.assertEquals(simulation_movement.getStartDate(),self.datetime + 15)
AssertionError: DateTime('2010/05/16 06:50:30.678899 GMT+2') != DateTime('2010/05/21 06:50:30.678899 GMT+2')


FAIL: test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1189, in test_06_SimulationChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/16 06:50:30.678899 GMT+2') != DateTime('2010/05/21 06:50:30.678899 GMT+2')


FAIL: test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1210, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/16 06:50:30.678899 GMT+2') != DateTime('2010/05/21 06:50:30.678899 GMT+2')


FAIL: test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1231, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifyOneSimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/16 06:50:30.678899 GMT+2') != DateTime('2010/05/21 06:50:30.678899 GMT+2')


FAIL: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2830, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 116, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
    > CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


FAIL: test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testEditorField.py", line 240, in test_EditSimpleEmailEventFCKEditorText
    self.assertTrue(self._isTextAreaEditor(html_text, 'my_text_content', text_content))
AssertionError


FAIL: test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testEditorField.py", line 271, in test_EditSimpleEmailEventTextAreaHTML
    self.assertTrue(self._isTextAreaEditor(html_text, 'my_text_content', text_content))
AssertionError


FAIL: test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testEditorField.py", line 299, in test_EditSimpleEmailEventTextAreaText
    self.assertTrue(self._isTextAreaEditor(html_text, 'my_text_content', text_content))
AssertionError


FAIL: test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/tests/testLegacyProductionOrder.py", line 1571, in test_07_testTransformationInteractionProductionOrderLine
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      ClearActivities
      CreateNotVariatedResource
      CreateOrder
      CreateTransformation
      Tic
      CreateOrderLineWithoutTransformation
      Tic
      CheckOrderLineTransformationIsSet
      RemoveResourceFromOrderLine
      Tic
    > CheckOrderLineTransformationIsNotSet
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/tests/testLegacyProductionOrder.py", line 672, in stepCheckOrderLineTransformationIsNotSet
    self.assertEquals(order_line.getSpecialiseValue(), None)
AssertionError: <Transformation at /erp5_portal_f9d5a9e0588ba4ee252164b55d086e03/transformation_module/8> != None


ERROR: test_01_defaultBehaviour (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 182, in test_01_defaultBehaviour
    self.portal.portal_notifications.sendMessage,
  File "/usr/lib64/python2.6/unittest.py", line 336, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_02_noSender (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 210, in test_02_noSender
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationWithoutSender
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 195, in stepCheckNotificationWithoutSender
    recipient='userA', subject='Subject', message='Message')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_03_noSubject (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 231, in test_03_noSubject
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationFailsWithoutSubject
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 220, in stepCheckNotificationFailsWithoutSubject
    recipient='userA', message='Message'
  File "/usr/lib64/python2.6/unittest.py", line 336, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_04_noRecipient (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 235, in test_04_noRecipient
    subject='Subject', message='Message')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_05_noMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 263, in test_05_noMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationWithoutMessage
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 248, in stepCheckNotificationWithoutMessage
    recipient='userA', subject='Subject', )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_06_simpleMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 291, in test_06_simpleMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckSimpleNotification
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 271, in stepCheckSimpleNotification
    recipient='userA', subject='Subject', message='Message')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_07_AttachmentMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 335, in test_07_AttachmentMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationWithAttachment
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 309, in stepCheckNotificationWithAttachment
    'mime_type': 'application/octet-stream',
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_08_MultiRecipient (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 366, in test_08_MultiRecipient
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      AddUserB
      Tic
    > CheckMultiRecipientNotification
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 343, in stepCheckMultiRecipientNotification
    recipient=['userA', 'userB'], subject='Subject', message='Message')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_10_PersonNotification (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 423, in test_10_PersonNotification
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckPersonNotification
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 403, in stepCheckPersonNotification
    recipient=person.getObject(), subject='Subject', message='Message')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_11_TextMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 457, in test_11_TextMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationPlainTextFormat
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 437, in stepCheckNotificationPlainTextFormat
    message_text_format='text/plain', message=message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_12_HtmlMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 489, in test_12_HtmlMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationHtmlFormat
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testNotificationTool.py", line 469, in stepCheckNotificationHtmlFormat
    message_text_format='text/html', message=message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 123, in test_01_PersistentCacheConversion
    document.convert(format=format)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 430, in convert
    mime, data = self._convert(format)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 353, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'


FAIL: test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 268, in test_05_checksum_conversion
    self.assertTrue(md5sum)
AssertionError


FAIL: test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 289, in test_06_check_md5_is_updated
    self.assertTrue(md5sum)
AssertionError


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 194, in testPeriodicityDateList
    (D(2008,11,1,0,1), DateTime(2008,11,30)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]


ERROR: test_01_checkPasswordTool (testPasswordTool.TestPasswordToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPasswordTool.py", line 291, in test_01_checkPasswordTool
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CheckPasswordToolExists
      AddUser
      Tic
      Logout
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
      TryLostPasswordWithBadUser
      Tic
      CheckNoMailSent
      GoToBadRandomAddress
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      GoToRandomAddress
      Tic
      CheckUserLoginWithNewPassword
      CheckUserNotLoginWithFormerPassword
      GoToRandomAddressTwice
      Tic
      CheckUserLoginWithNewPassword
      CheckUserNotLoginWithFormerPassword
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPasswordTool.py", line 152, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/PasswordTool.py", line 120, in mailPasswordResetRequest
    self.getPortalObject().portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPasswordTool.py", line 312, in test_02_checkPasswordToolDateExpired
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CheckPasswordToolExists
      AddUser
      Tic
      Logout
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      ModifyExpirationDate
      GoToRandomAddress
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPasswordTool.py", line 152, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/PasswordTool.py", line 120, in mailPasswordResetRequest
    self.getPortalObject().portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPasswordTool.py", line 335, in test_03_checkPasswordToolAlarm
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CheckPasswordToolExists
      AddUser
      Tic
      Logout
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      ModifyExpirationDate
      SimulateExpirationAlarm
      CheckNoRequestRemains
      GoToRandomAddressTwice
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPasswordTool.py", line 152, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/PasswordTool.py", line 120, in mailPasswordResetRequest
    self.getPortalObject().portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testProxyField.py", line 199, in testSkinSelectionTemplateField
    self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 337, in test_DeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 327, in _testTemplateNotIndexable
    self.assertEqual(len(preference.objectIds()), 2)
AssertionError: 1 != 2


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1


FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2


FAIL: test_configurationOfFieldLibrary (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testXHTML.py", line 204, in test_configurationOfFieldLibrary
    self.fail(message)
AssertionError: 16 fields to modify
	erp5_trade/SaleOrder_viewSaleOrderFastInputDialog/listbox_getAvailableInventory: To be proxified
	erp5_trade/SaleOrder_viewSaleOrderFastInputDialog/listbox_getCurrentInventory: To be proxified
	erp5_trade/SalePackingList_viewSalePackingListFastInputDialog/listbox_getAvailableInventory: To be proxified
	erp5_trade/SalePackingList_viewSalePackingListFastInputDialog/listbox_getCurrentInventory: To be proxified
	erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_test_method_id: Unused Proxy Field
	erp5_trade/ContainerLine_viewQuantity/matrixbox: Unproxify Field
	erp5_trade/DeliveryLine_viewIndustrialPhase/matrixbox: Unproxify Field
	erp5_trade/DeliveryLine_viewPrice/matrixbox: Unproxify Field
	erp5_trade/DeliveryLine_viewQuantity/matrixbox: Unproxify Field
	erp5_trade/DeliveryModule_viewDeliveryLineReport/your_reportbox: Unproxify Field
	erp5_trade/InventoryLine_viewInventory/matrixbox: Unproxify Field
	erp5_trade/InventoryLine_viewPrice/matrixbox: Unproxify Field
	erp5_trade/OrderLine_view/my_int_index: Unproxify Field
	erp5_trade/OrderModule_viewOrderReport/your_report_box: Unproxify Field
	erp5_trade/SaleOrder_viewPlanning/planning_box: Unproxify Field
	erp5_trade/SaleTradeCondition_view/my_version: Unproxify Field


More information about the Erp5-report mailing list