[Erp5-report] ERP5_z212 r43067 : 4541 Tests, 2922 Errors, 62 Failures, 107 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 4 23:07:12 CET 2011


Test Suite: ERP5_z212
Revision: 43067
Result: FAIL

All tests: 4541
Failures: 62
Errors: 2922
Skips: 107



The following tests failed:

  testAccounting                                     (85 errors)
   test_AccountingPeriodNotStoppedTransactions (testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
   test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
   test_AccountValidation (testAccounting.TestAccounts)
   test_AccountingPeriodWorkflow (testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
   test_AccountingTransactionValidationAfterPeriod (testAccounting.TestTransactionValidation)
   test_export_transaction (testAccounting.TestAccountingExport)
   test_Base_doAction (testAccounting.TestAccountingTransactionTemplate)

  testAccountingReports                              (57 errors)
   testAccountStatement (testAccountingReports.TestAccountingReports)
   testAccountStatementAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)

  testAccountingRules                                (28 errors)
   test_01_HasEverything (testAccountingRules.TestSaleAccountingRules), check necessary tools and modules are present.

  testAccounting_l10n_fr_m9                          (14 errors)
   test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)

  testAcknowledgementTool                            (1 errors)
   test_01_checkAcknowledgementToolWithOneEvent (testAcknowledgementTool.TestAcknowledgementTool)

  testAdvancedInvoicing                              (23 errors)
   test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)

  testAmount                                         (1 errors)
   test_01_variationProperty (testAmount.TestAmount)

  testApparelTransformation                          (1 errors)
   test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)

  testArchive                                        (1 errors)
   test_Archive (testArchive.TestArchive)

  testBase                                           (2 failures, 3 skips)
   test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
   test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)

  testBudget                                         (20 errors)
   test_all_other_and_strict_consumption (testBudget.TestBudget)

  testBusinessTemplate                               (87 errors)
   test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)

  testCMFCategory                                    (45 errors)
   test_00_HasEverything (testCMFCategory.TestCMFCategory)

  testCRM                                            (2 failures, 2 skips)
   test_MailFromOtherEvents (testCRM.TestCRMMailSend)
   test_MailMarkPosted (testCRM.TestCRMMailSend)

  testCalendar                                       (3 failures)
   test_GroupCalendarConstraint (testCalendar.TestCalendar)
   test_LeaveRequestCalendarConstraint (testCalendar.TestCalendar)
   test_PresenceRequestCalendarConstraint (testCalendar.TestCalendar)

  testClassTool                                      (4 errors)
   test_AsDocumentationHelperOnClassTool (testClassTool.TestClassTool)
   test_AsDocumentationHelperOnDocument (testClassTool.TestClassTool)
   test_DocumentationHelperActivities (testClassTool.TestClassTool)
   test_DocumentationHelperExpressionCategory (testClassTool.TestClassTool)

  testComplexTradeModelLineUseCase                   (12 errors)
   test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)

  testConstraint                                     (2 errors)
   test_OverrideMessage (testConstraint.TestConstraint)
   test_RegisterWithPropertySheet (testConstraint.TestConstraint)

  testConversionInSimulation                         (7 errors)
   test_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)

  testCrmReports                                     (1 errors)
   testEventDetailedReport (testCrmReports.TestCrmReports)

  testDataProtection                                 (1 errors)
   test_01_dataProtectionRequest (testDataProtection.TestDataProtection), This test create a person with a compromised description.

  testDeferredConnection                             (4 errors)
   test_00_basicReplaceQuery (testDeferredConnection.TestDeferredConnection)

  testDeferredStyle                                  (6 errors)
   test_normal_form (testDeferredStyle.TestODSDeferredStyle)

  testDeliveryBuilderToSupportMultipleLines          (4 errors)
   test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testDivergenceTester                               (5 errors)
   test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)

  testDms                                            (94 errors)
   testOOoDocument_get_size (testDms.TestDocument)
   test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
   test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)

  testDmsWithFlare                                   (90 errors)
   testOOoDocument_get_size (testDmsWithFlare.TestDocumentWithFlare)

  testDocumentationHelper                            (3 errors)
   test_01_ERP5Site (testDocumentationHelper.TestDocumentationHelper), Documentation of ERP5Site
   test_02_BusinessTemplate (testDocumentationHelper.TestDocumentationHelper), Documentation of Business Template
   test_03_PortalType (testDocumentationHelper.TestDocumentationHelper), Documentation of Portal Type

  testDomainTool                                     (7 errors)
   test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)

  testERP5Administration                             (2 errors)
   test_01_RunCheckStockTableAlarm (testERP5Administration.TestERP5Administration)

  testERP5Category                                   (10 errors)
   test_01_RenameCategory (testERP5Category.TestERP5Category)

  testERP5Commerce                                   (28 errors)
   test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)

  testERP5Core                                       (1 failures, 1 errors)
   test_getPropertyForUid (testERP5Core.TestERP5Core)
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5CurrencyExchangeLine                       (5 failures)
   test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_CreateEmptyCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_DateOfCurrencyExchangeLineNotDateofTransaction (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_UseCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_UseCurrencyExchangeLineForSource (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)

  testERP5Discussion                                 (2 errors)
   test_01_createDiscussionThread (testERP5Discussion.TestERP5Discussion), Create a new discussion thread

  testERP5DocumentSyncML                             (10 errors)
   test_01_GetSynchronizationList (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5RemoteUserManager                          (14 errors)
   test_correct_login (testERP5RemoteUserManager.TestERP5RemoteUserManager), Checks typical login scenario

  testERP5Simulation                                 (1 errors)
   test_01_splitAndDefer (testERP5Simulation.TestERP5Simulation)

  testERP5SocialContracts                            (2 errors)
   test_SocialContract (testERP5SocialContracts.TestERP5SocialContracts)

  testERP5SyncML                                     (32 errors)
   test_01_HasEverything (testERP5SyncML.TestERP5SyncML)

  testERP5SyncMLVCard                                (3 errors)
   test_04_FirstVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)

  testERP5Type                                       (6 failures, 3 errors, 1 skips)
   test_copyWithoutModificationRight (testERP5Type.TestERP5Type)
   test_type_provider (testERP5Type.TestERP5Type)
   test_unsupportedTransitionRaises (testERP5Type.TestERP5Type)
   test_19_AcquiredContentAccessor (testERP5Type.TestERP5Type), Tests an acquired content accessor.
   test_PropertySheetSecurityOnAccessors (testERP5Type.TestERP5Type)
   test_aq_reset_on_portal_types_properties_change (testERP5Type.TestERP5Type)
   test_edit (testERP5Type.TestERP5Type)
   test_getCreationDate (testERP5Type.TestERP5Type)
   test_translated_accessors (testERP5Type.TestERP5Type)

  testERP5WebWithCRM                                 (2 errors)
   test_01_Contact_Us_with_Anonymous_user (testERP5WebWithCRM.TestERP5WebWithCRM), Test creation of Web Message with Anonymous User

  testERP5eGov                                       (4 errors)
   test_01_new_procedure_creation (testERP5eGov.TestEgov)

  testFieldLibraryGuideline                          (6 errors)
   test_01_missingFieldLibrary (testFieldLibraryGuideline.TestFieldLibraryGuideline)

  testFieldValueCache                                (1 errors)
   testEditZMIFieldPurgesValueCache (testFieldValueCache.TestFieldValueCache)

  testFields                                         (2 errors)
   test_listField_value_order (testFields.TestListField), This test check the list field value order

  testFormPrintoutAsODT                              (21 errors)
   test_01_Paragraph (testFormPrintoutAsODT.TestFormPrintoutAsODT)

  testICal                                           (3 errors)
   test_01_renderEvent (testICal.TestICal)

  testImmobilisation                                 (22 errors)
   test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)

  testIngestion                                      (2 failures, 4 skips)
   test_14_ContributionToolIndexation (testIngestion.TestIngestion)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet

  testIngestionWithFlare                             (2 failures, 4 skips)
   test_14_ContributionToolIndexation (testIngestionWithFlare.TestIngestionWithFlare)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet

  testInteractionWorkflow                            (3 failures)
   test_11 (testInteractionWorkflow.TestInteractionWorkflow)
   test_12 (testInteractionWorkflow.TestInteractionWorkflow)
   test_13 (testInteractionWorkflow.TestInteractionWorkflow)

  testInternalOrder                                  (33 errors)
   test_01_OrderLine_getVariationRangeCategoryList (testInternalOrder.TestInternalOrder)

  testInvalidationBug                                (1 errors)
   testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)

  testInventory                                      (3 errors)
   test_01_getInventory (testInventory.TestInventory)

  testInventoryAPI                                   (118 errors)
   testPrecision (testInventoryAPI.TestInventory)

  testInventoryModule                                (4 errors)
   test_01_NotVariatedInventory (testInventoryModule.TestInventoryModule)

  testInvoice                                        (53 errors)
   test_01_SimpleInvoice (testInvoice.TestSaleInvoice)

  testKM                                             (1 errors)
   test_01_AssignedMembersToProject (testKM.TestKM), Test assigned members to a project. Project is defined in a Web Section

  testKMGadget                                       (15 errors)
   test_01ProperPoolInitialization (testKMGadget.TestGadgets), Check that it's properly initialized

  testLegacyAccounting                               (85 errors)
   test_AccountingPeriodNotStoppedTransactions (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
   test_Account_getDestinationSectionItemList (Products.ERP5.tests.testAccounting.TestTransactions)
   test_AccountValidation (Products.ERP5.tests.testAccounting.TestAccounts)
   test_AccountingPeriodWorkflow (Products.ERP5.tests.testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
   test_AccountingTransactionValidationAfterPeriod (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_export_transaction (Products.ERP5.tests.testAccounting.TestAccountingExport)
   test_Base_doAction (Products.ERP5.tests.testAccounting.TestAccountingTransactionTemplate)

  testLegacyAccountingReports                        (57 errors)
   testAccountStatement (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementAnalyticsHidden (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)

  testLegacyAccountingRules                          (28 errors)
   test_01_HasEverything (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), check necessary tools and modules are present.

  testLegacyBPMCore                                  (15 errors)
   testBPMCopyAndPaste (testLegacyBPMCore.TestBPMImplementation)
   test_isBuildable_OrderedDeliveredInvoiced (testLegacyBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, delivered and invoiced sequence
   test_isCompleted_OrderedDeliveredInvoiced (testLegacyBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, delivered and invoiced sequence
   test_isFrozen_OrderedDeliveredInvoiced (testLegacyBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, delivered and invoiced sequence

  testLegacyConversionInSimulation                   (7 errors)
   test_01_delivery_mode_on_sale_packing_list_and_invoice (testLegacyConversionInSimulation.TestConversionInSimulation)

  testLegacyDeliveryBuilderToSupportMultipleLines    (4 errors)
   test_01_IfNested (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testLegacyDivergenceTester                         (5 errors)
   test_01_QuantityDivergenceTester (Products.ERP5.tests.testDivergenceTester.TestDivergenceTester)

  testLegacyICal                                     (3 errors)
   test_01_renderEvent (Products.ERP5.tests.testICal.TestICal)

  testLegacyImmobilisation                           (22 errors)
   test_01_singlePackingListImmobilisationStateChange (Products.ERP5.tests.testImmobilisation.TestImmobilisation)

  testLegacyInvoice                                  (34 failures)
   test_01_SimpleInvoice (testLegacyInvoice.TestSaleInvoice)
   test_01_quantity_unit_copied (testLegacyInvoice.TestSaleInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testLegacyInvoice.TestSaleInvoice)
   test_03_InvoiceEditAndInvoiceRule (testLegacyInvoice.TestSaleInvoice)
   test_04_PackingListEditAndInvoiceRule (testLegacyInvoice.TestSaleInvoice)
   test_05_InvoiceEditPackingListLine (testLegacyInvoice.TestSaleInvoice)
   test_06_InvoiceDeletePackingListLine (testLegacyInvoice.TestSaleInvoice)
   test_07_InvoiceAddPackingListLine (testLegacyInvoice.TestSaleInvoice)
   test_08_InvoiceDecreaseQuantity (testLegacyInvoice.TestSaleInvoice)
   test_09_InvoiceChangeStartDateFail (testLegacyInvoice.TestSaleInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testLegacyInvoice.TestSaleInvoice)
   test_10_AcceptDecisionOnPackingList (testLegacyInvoice.TestSaleInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testLegacyInvoice.TestSaleInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testLegacyInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testLegacyInvoice.TestSaleInvoice)
   test_14_AcceptDecisionOnInvoice (testLegacyInvoice.TestSaleInvoice)
   test_16_ManuallyAddedMovements (testLegacyInvoice.TestSaleInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testLegacyInvoice.TestSaleInvoice)
   test_17_ManuallyAddedWrongMovements (testLegacyInvoice.TestSaleInvoice)
   test_18_compareInvoiceAndPackingList (testLegacyInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testLegacyInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacyInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacyInvoice.TestSaleInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testLegacyInvoice.TestSaleInvoice)
   test_description_copied_on_lines (testLegacyInvoice.TestSaleInvoice)
   test_invoice_building_with_cells (testLegacyInvoice.TestSaleInvoice)
   test_invoice_building_with_cells_and_aggregate (testLegacyInvoice.TestSaleInvoice)
   test_01_quantity_unit_copied (testLegacyInvoice.TestPurchaseInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacyInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacyInvoice.TestPurchaseInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testLegacyInvoice.TestPurchaseInvoice)
   test_description_copied_on_lines (testLegacyInvoice.TestPurchaseInvoice)
   test_invoice_building_with_cells (testLegacyInvoice.TestPurchaseInvoice)
   test_invoice_building_with_cells_and_aggregate (testLegacyInvoice.TestPurchaseInvoice)

  testLegacyMRP                                      (5 errors)
   test_TransformationRule_expand (Products.ERP5.tests.testMRP.TestMRPImplementation)

  testLegacyOrder                                    (31 errors)
   test_01_OrderLine_getVariationRangeCategoryList (testLegacyOrder.TestOrder)

  testLegacyPackingList                              (48 errors)
   test_01_PackingListDecreaseQuantity (testLegacyPackingList.TestPackingList)

  testLegacyProductionOrder                          (11 errors)
   test_01_testProductionSimulationExpand (testLegacyProductionOrder.TestProductionOrder)

  testLegacyProjectAndTask                           (14 errors)
   test_01_testTaskBasicUseCase (Products.ERP5.tests.testTask.TestTask)
   testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)
   test_01_TestReportLineChangeQuantity (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
   testProject_getSourceProjectRelatedTaskReportList (Products.ERP5.tests.testProject.TestProject)

  testLegacyReturnedSalePackingList                  (7 errors)
   test_01_ReturnedSalePackingListWithInventory (Products.ERP5.tests.testReturnedSalePackingList.TestReturnedSalePackingList)

  testLegacySimulationAdvancedInvoicing              (24 errors)
   test_01_TwoInvoicesFromTwoPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_autoplanned (Products.ERP5.tests.testAdvancedInvoicing.TestWorkflow)

  testLegacySimulationInventory                      (3 errors)
   test_01_getInventory (Products.ERP5.tests.testInventory.TestInventory)

  testLegacySimulationInventoryAPI                   (118 errors)
   testPrecision (Products.ERP5.tests.testInventoryAPI.TestInventory)

  testLegacySimulationInventoryModule                (4 errors)
   test_01_NotVariatedInventory (Products.ERP5.tests.testInventoryModule.TestInventoryModule)

  testLegacySimulationInvoice                        (53 errors)
   test_01_SimpleInvoice (testLegacySimulationInvoice.TestSaleInvoice)

  testLegacySimulationItem                           (25 errors)
   test_01_ItemSimpleTest (Products.ERP5.tests.testItem.TestItem)
   test_Item_getCurrentOwnerTitle (Products.ERP5.tests.testItem.TestItemScripts)

  testLegacySimulationOrder                          (33 errors)
   test_01_OrderLine_getVariationRangeCategoryList (Products.ERP5.tests.testOrder.TestOrder)

  testLegacySimulationOrderBuilder                   (4 errors)
   test_01_simpleOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)

  testLegacySimulationPackingList                    (65 errors)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestPackingList)

  testLegacySimulationProduction                     (12 errors)
   test_01_testProductionSimulationExpand (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
   test_01_sourcingDelivery (Products.ERP5.tests.testProductionPackingList.TestProductionDelivery)

  testLegacySimulationProductionApparel              (10 errors)
   test_01_testProductionSimulationExpand (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_01_sourcingDelivery (Products.ERP5.tests.testProductionPackingListApparel.TestProductionDeliveryApparel)

  testLegacySimulationRule                           (11 errors)
   test_01_ValidatedRuleWithNoScript (Products.ERP5.tests.testRule.TestRule)

  testLegacyTaxLineTradeCondition                    (70 errors)
   test_apply_trade_condition_after_line_creation (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
   test_apply_trade_condition_after_line_creation (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
   test_apply_trade_condition_after_line_creation (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleInvoice)
   test_apply_trade_condition_after_line_creation (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseInvoice)
   test_2_tax_lines_simulation (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationSaleOrder)
   test_2_tax_lines_simulation (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
   test_tax_line_simulation (testLegacyTaxLineTradeCondition.TestTaxLineInvoiceSimulationPurchaseInvoice)
   test_tax_line_simulation (testLegacyTaxLineTradeCondition.TestTaxLineInvoiceSimulationSaleInvoice)

  testLegacyTradeCondition                           (54 errors)
   test_apply_trade_condition_copy_subobjects (testLegacyTradeCondition.TestApplyTradeConditionSaleOrder)
   test_apply_trade_condition_copy_subobjects (testLegacyTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLineSaleOrder)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLinePurchaseOrder)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLineSaleInvoice)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLinePurchaseInvoice)
   test_getEffectiveModel (testLegacyTradeCondition.TestEffectiveSaleTradeCondition)
   test_getEffectiveModel (testLegacyTradeCondition.TestEffectivePurchaseTradeCondition)

  testLegacyTradeModelLine                           (32 errors)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
   test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
   test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)

  testLegacyTransformation                           (6 errors)
   test_01_getAggregatedAmountListSimple (Products.ERP5.tests.testTransformation.TestTransformation)

  testMRP                                            (5 errors)
   test_TransformationRule_expand (testMRP.TestMRPImplementation)

  testMilestoneReporting                             (2 errors)
   testMilestoneReport (testMilestoneReporting.TestMilestoneReporting)
   testMilestoneReport (testMilestoneReporting.TestOptimisedMilestoneReporting)

  testMovementGroup                                  (18 errors)
   test_property_movement_group_and_separating (testMovementGroup.TestPropertyMovementGroup)

  testOOoImport                                      (1 failures, 6 errors)
   test_06_AuthorImportFile (testOOoImport.TestOOoImport)
   test_07_ImportFileWithFreeText (testOOoImport.TestOOoImport)
   test_08_ImportFileWithAccentuatedText (testOOoImport.TestOOoImport)
   test_09_ImportXLSFile (testOOoImport.TestOOoImport)
   test_10_ImportFileWithDates (testOOoImport.TestOOoImport)
   test_12_ImportBigFile_1 (testOOoImport.TestOOoImport)
   test_04_ImportFileWithCategory (testOOoImport.TestOOoImport)

  testOOoStyle                                       (40 errors)
   test_form_list (testOOoStyle.TestODTStyle)
   test_form_list (testOOoStyle.TestODSStyle)

  testOOoStyleWithFlare                              (40 errors)
   test_form_list (testOOoStyleWithFlare.TestODTStyle)

  testOpenOrder                                      (4 errors)
   testBuildingSaleOrder (testOpenOrder.TestOpenOrder)

  testOrder                                          (33 errors)
   test_01_OrderLine_getVariationRangeCategoryList (testOrder.TestOrder)

  testOrderBuilder                                   (4 errors)
   test_01_simpleOrderBuilder (testOrderBuilder.TestOrderBuilder)

  testPDM                                            (1 errors)
   testValidatedProductCanContainMeasure (testPDM.TestPDMWithSecurity)

  testPackingList                                    (65 errors)
   test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)

  testPackingListRoundingPrecision                   (31 errors)
   test_01_PackingListDecreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)

  testPasswordTool                                   (1 failures)
   test_01_checkPasswordTool (testPasswordTool.TestPasswordToolWithCRM)

  testPayroll                                        (30 errors)
   test_AccountingLineGeneration (testPayroll.TestPayroll)

  testPayroll_l10n_fr                                (1 errors)
   test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice

  testPerson                                         (8 errors)
   testEditFirstNameLastName (testPerson.TestPerson)
   testEditTitleFirstNameLastName (testPerson.TestPerson)
   testEmptyTitle (testPerson.TestPerson)
   testGetTitleOrId (testPerson.TestPerson)
   testHasTitle (testPerson.TestPerson)
   testSetFirstName (testPerson.TestPerson)
   testSetLastName (testPerson.TestPerson)
   testTitleFromFirstLastName (testPerson.TestPerson)

  testProductionOrder                                (11 errors)
   test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)

  testProductionOrderApparel                         (9 errors)
   test_01_testProductionSimulationExpand (testProductionOrderApparel.TestProductionOrderApparel)

  testProductionPackingList                          (1 errors)
   test_01_sourcingDelivery (testProductionPackingList.TestProductionDelivery)

  testProductionPackingListApparel                   (1 errors)
   test_01_sourcingDelivery (testProductionPackingListApparel.TestProductionDeliveryApparel)

  testProject                                        (1 errors)
   testProject_getSourceProjectRelatedTaskReportList (testProject.TestProject)

  testPurchaseOrder                                  (33 errors)
   test_01_OrderLine_getVariationRangeCategoryList (testPurchaseOrder.TestPurchaseOrder)

  testResource                                       (18 errors)
   testGetPriceWithPriceCurrency (testResource.TestResource)

  testReturnedSalePackingList                        (7 errors)
   test_01_ReturnedSalePackingListWithInventory (testReturnedSalePackingList.TestReturnedSalePackingList)

  testRule                                           (11 errors)
   test_01_ValidatedRuleWithNoScript (testRule.TestRule)

  testSQLCachedWorklist                              (3 errors)
   test_01_permission (testSQLCachedWorklist.TestSQLCachedWorklist)

  testSpellChecking                                  (3 errors)
   test_business_template_list_with_workflow_template_item (testSpellChecking.TestSpellChecking)

  testTask                                           (8 errors)
   test_01_testTaskBasicUseCase (testTask.TestTask)

  testTaskReportDivergence                           (4 errors)
   test_01_TestReportLineChangeQuantity (testTaskReportDivergence.TestTaskReportDivergence)

  testTaskReporting                                  (1 errors)
   testProjectMontlyReport (testTaskReporting.TestTaskReporting)

  testTradeCondition                                 (62 errors)
   test_apply_trade_condition_copy_subobjects (testTradeCondition.TestApplyTradeConditionSaleOrder)
   test_apply_trade_condition_copy_subobjects (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLineSaleOrder)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLinePurchaseOrder)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLineSaleInvoice)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLinePurchaseInvoice)
   test_getEffectiveModel (testTradeCondition.TestEffectiveSaleTradeCondition)
   test_getEffectiveModel (testTradeCondition.TestEffectivePurchaseTradeCondition)

  testTradeModelLine                                 (11 errors)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case

  testTradeModelLinePurchase                         (11 errors)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case

  testTradeReports                                   (4 errors)
   testSaleOrderReport (testTradeReports.TestTradeReports)

  testTransformation                                 (6 errors)
   test_01_getAggregatedAmountListSimple (testTransformation.TestTransformation)

  testTranslation                                    (7 errors)
   test_01_EnglishTranslation (testTranslation.TestWorkflowStateTitleTranslation)

  testUNG                                            (2 errors)
   testERP5Site_createNewWebDocument (testUNG.TestUNG)

  testUrl                                            (1 errors)
   test_document_asUrl (testUrl.TestUrl)

  testWebDavSupport                                  (6 errors)
   test_GET_on_contributionTool (testWebDavSupport.TestWebDavSupport), Get a document through Contribution Tool.

  testXHTML                                          (539 errors)
   test_PythonScriptSyntax (testXHTML.TestXHTML)

  testXMLMatrix                                      (8 errors)
   test_01_RenameCellRange (testXMLMatrix.TestXMLMatrix)

The following tests were at least partly skipped:

  testBPMCore                                        (12 skips)

  testBPMEvaluation                                  (40 skips)
   done (7.432s)test_confirming (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_confirming (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'

  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'

  testCRM                                            (2 skips)

  testDynamicClassGeneration                         (1 skips)

  testERP5Base                                       (1 skips)

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

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testItem                                           (13 skips)

  testPreferences                                    (1 skips)

  testProxyField                                     (1 skips)

  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'

  testTemplate                                       (1 skips)

Attached traceback has been truncated to the first 5000 lines
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 35207 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110204/1aa111ca/attachment-0001.diff>
-------------- next part --------------

ERROR: test_AccountingPeriodNotStoppedTransactions (testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '216' for key 1")


ERROR: test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '316' for key 1")


ERROR: test_AccountValidation (testAccounting.TestAccounts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '327' for key 1")


ERROR: test_AccountingPeriodWorkflow (testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '329' for key 1")


ERROR: test_AccountingTransactionValidationAfterPeriod (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '372' for key 1")


ERROR: test_export_transaction (testAccounting.TestAccountingExport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '376' for key 1")


ERROR: test_Base_doAction (testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '429' for key 1")


ERROR: testAccountStatement (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '218' for key 1")


ERROR: testAccountStatementAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '316' for key 1")


ERROR: test_01_HasEverything (testAccountingRules.TestSaleAccountingRules), check necessary tools and modules are present.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '5' for key 1")


ERROR: test_01_checkAcknowledgementToolWithOneEvent (testAcknowledgementTool.TestAcknowledgementTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '2' for key 1")


ERROR: test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '719' for key 1")


ERROR: test_01_variationProperty (testAmount.TestAmount)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '327' for key 1")


ERROR: test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '145' for key 1")


ERROR: test_Archive (testArchive.TestArchive)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


FAIL: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testBase.py", line 301, in test_01_areActivitiesWellLaunchedByPropertyEdit
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AssociateWorkflows
      CreateObject
      Tic
      CheckTitleValue
      SetDifferentTitleValueWithEdit
      CheckIfActivitiesAreCreated
      CheckTitleValue
      Tic
      CheckIfMessageQueueIsEmpty
      SetSameTitleValueWithEdit
    > CheckIfActivitiesAreCreated
      CheckTitleValue
      Tic
      CheckIfMessageQueueIsEmpty
      SetDifferentTitleValueWithEdit
      CheckIfActivitiesAreCreated
      CheckTitleValue
      Tic
      CheckIfMessageQueueIsEmpty
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testBase.py", line 205, in stepCheckIfActivitiesAreCreated
    self.failUnless(len(message_list) > 0)
AssertionError


FAIL: test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testBase.py", line 413, in test_02_areActivitiesWellLaunchedByCategoryEdit
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AssociateWorkflows
      CreateObject
      Tic
      CheckGroupValue
      SetDifferentGroupValueWithEdit
      CheckIfActivitiesAreCreated
      CheckGroupValue
      Tic
      CheckIfMessageQueueIsEmpty
      SetSameGroupValueWithEdit
    > CheckIfActivitiesAreCreated
      CheckGroupValue
      Tic
      CheckIfMessageQueueIsEmpty
      SetDifferentGroupValueWithEdit
      CheckIfActivitiesAreCreated
      CheckGroupValue
      Tic
      CheckIfMessageQueueIsEmpty
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testBase.py", line 205, in stepCheckIfActivitiesAreCreated
    self.failUnless(len(message_list) > 0)
AssertionError


ERROR: test_all_other_and_strict_consumption (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_00_HasEverything (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '148' for key 1")


FAIL: test_MailFromOtherEvents (testCRM.TestCRMMailSend)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testCRM.py", line 942, in test_MailFromOtherEvents
    self.assertEquals((), self.portal.MailHost._last_message)
AssertionError: () != ('"Me," <me at erp5.org>', ['"Recipient," <recipient at example.com>'], 'Content-Type: multipart/mixed; boundary="===============7935304363649158042=="\nMIME-Version: 1.0\nDate: Fri, 04 Feb 2011 21:33:34 +0100\nFrom: "Me," <me at erp5.org>\nSubject: =?utf-8?q?A_Mail?=\nTo: "Recipient," <recipient at example.com>\n\n--===============7935304363649158042==\nContent-Type: text/plain; charset="utf-8"\nMIME-Version: 1.0\nContent-Transfer-Encoding: quoted-printable\n\nMail Content\n--===============7935304363649158042==--\n')


FAIL: test_MailMarkPosted (testCRM.TestCRMMailSend)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testCRM.py", line 959, in test_MailMarkPosted
    self.assertEquals((), self.portal.MailHost._last_message)
AssertionError: () != ('"Me," <me at erp5.org>', ['"Recipient," <recipient at example.com>'], 'Content-Type: multipart/mixed; boundary="===============7935304363649158042=="\nMIME-Version: 1.0\nDate: Fri, 04 Feb 2011 21:33:34 +0100\nFrom: "Me," <me at erp5.org>\nSubject: =?utf-8?q?A_Mail?=\nTo: "Recipient," <recipient at example.com>\n\n--===============7935304363649158042==\nContent-Type: text/plain; charset="utf-8"\nMIME-Version: 1.0\nContent-Transfer-Encoding: quoted-printable\n\nMail Content\n--===============7935304363649158042==--\n')


FAIL: test_GroupCalendarConstraint (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testCalendar.py", line 753, in test_GroupCalendarConstraint
    self.assertEquals(1, len(group_calendar.checkConsistency()))
AssertionError: 1 != 0


FAIL: test_LeaveRequestCalendarConstraint (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testCalendar.py", line 769, in test_LeaveRequestCalendarConstraint
    self.assertEquals(2, len(leave_request.checkConsistency()))
AssertionError: 2 != 0


FAIL: test_PresenceRequestCalendarConstraint (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testCalendar.py", line 788, in test_PresenceRequestCalendarConstraint
    self.assertEquals(2, len(presence_request.checkConsistency()))
AssertionError: 2 != 0


ERROR: test_AsDocumentationHelperOnClassTool (testClassTool.TestClassTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testClassTool.py", line 103, in test_AsDocumentationHelperOnClassTool
    class_doc_helper = class_tool.asDocumentationHelper(class_id='Folder')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Tool/ClassTool.py", line 1113, in asDocumentationHelper
    description=inspect.getdoc(my_class))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1705, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1689, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 881, in setDescription
    self._setDescription(value)
AttributeError: _setDescription


ERROR: test_AsDocumentationHelperOnDocument (testClassTool.TestClassTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testClassTool.py", line 90, in test_AsDocumentationHelperOnDocument
    doc_helper = folder.asDocumentationHelper()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3595, in asDocumentationHelper
    description=inspect.getdoc(documented_item),
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1705, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1689, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 881, in setDescription
    self._setDescription(value)
AttributeError: _setDescription


ERROR: test_DocumentationHelperActivities (testClassTool.TestClassTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testClassTool.py", line 117, in test_DocumentationHelperActivities
    doc_helper = folder.asDocumentationHelper()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3595, in asDocumentationHelper
    description=inspect.getdoc(documented_item),
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1705, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1689, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 881, in setDescription
    self._setDescription(value)
AttributeError: _setDescription


ERROR: test_DocumentationHelperExpressionCategory (testClassTool.TestClassTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testClassTool.py", line 148, in test_DocumentationHelperExpressionCategory
    self.assertNotEquals(None, movement.asDocumentationHelper())
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3595, in asDocumentationHelper
    description=inspect.getdoc(documented_item),
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1705, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1689, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 881, in setDescription
    self._setDescription(value)
AttributeError: _setDescription


ERROR: test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '162' for key 1")


ERROR: test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '194' for key 1")


ERROR: test_OverrideMessage (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1427, in test_OverrideMessage
    ''')
TypeError: _addPropertySheet() got an unexpected keyword argument 'property_sheet_code'


ERROR: test_RegisterWithPropertySheet (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1404, in test_RegisterWithPropertySheet
    ''')
TypeError: _addPropertySheet() got an unexpected keyword argument 'property_sheet_code'


ERROR: test_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '468' for key 1")


ERROR: testEventDetailedReport (testCrmReports.TestCrmReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testCrmReports.py", line 2050, in testEventDetailedReport
    line_list = self.getListBoxLineList(report_section_list[0])
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1168, in getListBoxLineList
    REQUEST=self.portal.REQUEST)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ListBox.py", line 2940, in get_value
    render_prefix=kw.get('render_prefix'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ListBox.py", line 485, in render
    return renderer()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ListBox.py", line 2093, in __call__
    return self.render(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ListBox.py", line 2671, in render
    for line in self.query():
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ListBox.py", line 2014, in query
    report_section_list = self.getReportSectionList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ListBox.py", line 1989, in getReportSectionList
    object_list = selection(method=domain_list_method, context=domain_context, REQUEST=self.request)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/Selection.py", line 238, in __call__
    result = method(**kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in EventModule_getEventDetailedLineList
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in Base_getSectionUidListForSectionCategory
AttributeError: getGroupRelatedValueList


ERROR: test_01_dataProtectionRequest (testDataProtection.TestDataProtection), This test create a person with a compromised description.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


ERROR: test_00_basicReplaceQuery (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 981, in setUpERP5Site
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '0' for key 1")


ERROR: test_normal_form (testDeferredStyle.TestODSDeferredStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: testOOoDocument_get_size (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '131' for key 1")


ERROR: test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '149' for key 1")


ERROR: test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '151' for key 1")


ERROR: testOOoDocument_get_size (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '25' for key 1")


ERROR: test_01_ERP5Site (testDocumentationHelper.TestDocumentationHelper), Documentation of ERP5Site
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testDocumentationHelper.py", line 70, in test_01_ERP5Site
    self.portal.portal_classes.DocumentationHelper_viewReport()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/Form.py", line 649, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PageTemplates/ZopePageTemplate.py", line 432, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
    showtal=showtal)
  File "/home/jm/buildout-2.12/eggs/zope.pagetemplate-3.5.2-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
    self.interpret(block)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
    self.interpret(block)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
    self.interpret(block)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/jm/buildout-2.12/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
    return eval(self._code, vars, {})
  File "PythonExpr", line 1, in <expression>
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/Formulator/Field.py", line 279, in render
    editable=editable,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/Formulator/Field.py", line 205, in _render_helper
    render_prefix=render_prefix)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ProxyField.py", line 82, in __call__
    return proxied_method(field, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ReportBox.py", line 58, in render_view
    return self.render(field, key, value, REQUEST)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ReportBox.py", line 71, in render
    return report_method()
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 128, in DocumentationHelper_getDocumentationSectionList
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 21, in DocumentationHelper_getDocumentationSectionListParams
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/DocumentationHelper.py", line 265, in getSectionList
    uri_list = self.getSectionUriList(**section)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/DocumentationHelper.py", line 256, in getSectionUriList
    return getattr(self, 'get%sUriList' % convertToUpperCase(id))()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 288, in getWorkflowMethodUriList
    method_id_list = self.getWorkflowMethodIdList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 281, in getWorkflowMethodIdList
    return self._getPropertyHolder().getWorkflowMethodIdList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 275, in _getPropertyHolder
    return Base.aq_portal_type[(portal_type, temp_object.__class__)]
KeyError: ('Accounting Transaction Balance Constraint', <class 'erp5.temp_portal_type.Temporary Accounting Transaction Balance Constraint'>)


ERROR: test_02_BusinessTemplate (testDocumentationHelper.TestDocumentationHelper), Documentation of Business Template
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testDocumentationHelper.py", line 90, in test_02_BusinessTemplate
    self.portal.portal_classes.DocumentationHelper_viewReport()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/Form.py", line 649, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PageTemplates/ZopePageTemplate.py", line 432, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
    showtal=showtal)
  File "/home/jm/buildout-2.12/eggs/zope.pagetemplate-3.5.2-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
    self.interpret(block)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
    self.interpret(block)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
    self.interpret(block)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/jm/buildout-2.12/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/jm/buildout-2.12/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
    return eval(self._code, vars, {})
  File "PythonExpr", line 1, in <expression>
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/Formulator/Field.py", line 279, in render
    editable=editable,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/Formulator/Field.py", line 205, in _render_helper
    render_prefix=render_prefix)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ProxyField.py", line 82, in __call__
    return proxied_method(field, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ReportBox.py", line 58, in render_view
    return self.render(field, key, value, REQUEST)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Form/ReportBox.py", line 71, in render
    return report_method()
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 95, in DocumentationHelper_getDocumentationSectionList
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/DocumentationHelper.py", line 265, in getSectionList
    uri_list = self.getSectionUriList(**section)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/DocumentationHelper.py", line 256, in getSectionUriList
    return getattr(self, 'get%sUriList' % convertToUpperCase(id))()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 288, in getWorkflowMethodUriList
    method_id_list = self.getWorkflowMethodIdList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 281, in getWorkflowMethodIdList
    return self._getPropertyHolder().getWorkflowMethodIdList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 275, in _getPropertyHolder
    return Base.aq_portal_type[(portal_type, temp_object.__class__)]
KeyError: ('Bar', <class 'erp5.temp_portal_type.Temporary Bar'>)


ERROR: test_03_PortalType (testDocumentationHelper.TestDocumentationHelper), Documentation of Portal Type
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testDocumentationHelper.py", line 102, in test_03_PortalType
    self.assertTrue('checkConsistency' in portal_type_do.getClassMethodIdList())
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 304, in getClassMethodIdList
    return self._getPropertyHolder().getClassMethodIdList(klass, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/DocumentationHelper/PortalTypeDocumentationHelper.py", line 275, in _getPropertyHolder
    return Base.aq_portal_type[(portal_type, temp_object.__class__)]
KeyError: ('Foo', <class 'erp5.temp_portal_type.Temporary Foo'>)


ERROR: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '141' for key 1")


ERROR: test_01_RunCheckStockTableAlarm (testERP5Administration.TestERP5Administration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '673' for key 1")


ERROR: test_01_RenameCategory (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '431' for key 1")


ERROR: test_getPropertyForUid (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5Core.py", line 498, in test_getPropertyForUid
    if i.getUid() != 0 and i.getUid() != i.getProperty('uid'):
AttributeError: getUid


FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5Core.py", line 304, in test_view_tools
    "%s: %s" % (tool, response.getStatus()))
AssertionError: portal_categories: 503


FAIL: test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 497, in test_CreateCELWithNoBasePrice
    327979)
AssertionError: 500.0 != 327979


FAIL: test_CreateEmptyCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 223, in test_CreateEmptyCurrencyExchangeLineForDestination
    round(655.957*line.getQuantity()))
AssertionError: None != 327979.0


FAIL: test_DateOfCurrencyExchangeLineNotDateofTransaction (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 378, in test_DateOfCurrencyExchangeLineNotDateofTransaction
    327979)
AssertionError: 500.0 != 327979


FAIL: test_UseCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 158, in test_UseCurrencyExchangeLineForDestination
    round(655.957*line.getQuantity()))
AssertionError: None != 327979.0


FAIL: test_UseCurrencyExchangeLineForSource (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 271, in test_UseCurrencyExchangeLineForSource
    327979)
AssertionError: 500.0 != 327979


ERROR: test_01_createDiscussionThread (testERP5Discussion.TestERP5Discussion), Create a new discussion thread
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '196' for key 1")


ERROR: test_01_GetSynchronizationList (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '209' for key 1")


ERROR: test_correct_login (testERP5RemoteUserManager.TestERP5RemoteUserManager), Checks typical login scenario
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '1' for key 1")


ERROR: test_01_splitAndDefer (testERP5Simulation.TestERP5Simulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


ERROR: test_SocialContract (testERP5SocialContracts.TestERP5SocialContracts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_01_HasEverything (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '194' for key 1")


ERROR: test_04_FirstVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '194' for key 1")


ERROR: test_copyWithoutModificationRight (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2543, in test_copyWithoutModificationRight
    folder.manage_pasteObjects(clipboard)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Organisation_afterClone
Unauthorized: You are not allowed to access 'setTitle' in this context


ERROR: test_type_provider (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2914, in test_type_provider
    dummy_instance.setReference('test')
AttributeError: setReference


ERROR: test_unsupportedTransitionRaises (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2834, in test_unsupportedTransitionRaises
    person.validate()
AttributeError: validate


FAIL: test_19_AcquiredContentAccessor (testERP5Type.TestERP5Type), Tests an acquired content accessor.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 1190, in test_19_AcquiredContentAccessor
    person.getDefaultOrganisationTitle())
AssertionError: 'This is the title we should acquire' != None


FAIL: test_PropertySheetSecurityOnAccessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2637, in test_PropertySheetSecurityOnAccessors
    self.assertFalse(guarded_hasattr(obj, 'setFooBar'))
AssertionError


FAIL: test_aq_reset_on_portal_types_properties_change (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2403, in test_aq_reset_on_portal_types_properties_change
    self.assertFalse(hasattr(doc, 'getDestination'))
AssertionError


FAIL: test_edit (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2656, in test_edit
    self.assertRaises(Unauthorized, obj.edit, foo_bar="v2")
AssertionError: Unauthorized not raised


FAIL: test_getCreationDate (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2523, in test_getCreationDate
    self.assertNotEquals(object.getCreationDate(), folder.getCreationDate())
AssertionError: None == None


FAIL: test_translated_accessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2336, in test_translated_accessors
    self.assertEquals('erp5_content', doc.getDummyTranslationDomain())
AssertionError: 'erp5_content' != 'erp5_ui'


ERROR: test_01_Contact_Us_with_Anonymous_user (testERP5WebWithCRM.TestERP5WebWithCRM), Test creation of Web Message with Anonymous User
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '194' for key 1")


ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


ERROR: test_01_missingFieldLibrary (testFieldLibraryGuideline.TestFieldLibraryGuideline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '1' for key 1")


ERROR: testEditZMIFieldPurgesValueCache (testFieldValueCache.TestFieldValueCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '17' for key 1")


ERROR: test_listField_value_order (testFields.TestListField), This test check the list field value order
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '1' for key 1")


ERROR: test_01_Paragraph (testFormPrintoutAsODT.TestFormPrintoutAsODT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


ERROR: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '142' for key 1")


ERROR: test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '181' for key 1")


FAIL: test_14_ContributionToolIndexation (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5OOo/tests/testIngestion.py", line 1421, in test_14_ContributionToolIndexation
    len(portal.portal_catalog(path=contribution_tool.getPath())))
AssertionError: 1 != 0


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: test_14_ContributionToolIndexation (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 1421, in test_14_ContributionToolIndexation
    len(portal.portal_catalog(path=contribution_tool.getPath())))
AssertionError: 1 != 0


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: test_11 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testInteractionWorkflow.py", line 372, in test_11
    self.assertEquals(organisation.getDescription(),'bara')
AssertionError: 'barabaab' != 'bara'


FAIL: test_12 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testInteractionWorkflow.py", line 408, in test_12
    self.assertEquals(organisation.getVatCode(),'fooa')
AssertionError: 'fooabaab' != 'fooa'


FAIL: test_13 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testInteractionWorkflow.py", line 455, in test_13
    self.assertEquals(organisation.getVatCode(),'bara')
AssertionError: 'baraa' != 'bara'


ERROR: test_01_OrderLine_getVariationRangeCategoryList (testInternalOrder.TestInternalOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '459' for key 1")


ERROR: testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvalidationBug.py", line 145, in testLateInvalidationFromZEO
    del socket_map[zeo_connection.fileno()]
KeyError: 18


ERROR: test_01_getInventory (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '194' for key 1")


ERROR: testPrecision (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '323' for key 1")


ERROR: test_01_NotVariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_01_SimpleInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '534' for key 1")


ERROR: test_01_AssignedMembersToProject (testKM.TestKM), Test assigned members to a project. Project is defined in a Web Section
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '243' for key 1")


ERROR: test_01ProperPoolInitialization (testKMGadget.TestGadgets), Check that it's properly initialized
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '131' for key 1")


ERROR: test_AccountingPeriodNotStoppedTransactions (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_Account_getDestinationSectionItemList (Products.ERP5.tests.testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


ERROR: test_AccountValidation (Products.ERP5.tests.testAccounting.TestAccounts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_AccountingPeriodWorkflow (Products.ERP5.tests.testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '131' for key 1")


ERROR: test_AccountingTransactionValidationAfterPeriod (Products.ERP5.tests.testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '194' for key 1")


ERROR: test_export_transaction (Products.ERP5.tests.testAccounting.TestAccountingExport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '196' for key 1")


ERROR: test_Base_doAction (Products.ERP5.tests.testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '209' for key 1")


ERROR: testAccountStatement (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '209' for key 1")


ERROR: testAccountStatementAnalyticsHidden (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '211' for key 1")


ERROR: test_01_HasEverything (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), check necessary tools and modules are present.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '151' for key 1")


ERROR: testBPMCopyAndPaste (testLegacyBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '1' for key 1")


ERROR: test_isBuildable_OrderedDeliveredInvoiced (testLegacyBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '3' for key 1")


ERROR: test_isCompleted_OrderedDeliveredInvoiced (testLegacyBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '103' for key 1")


ERROR: test_isFrozen_OrderedDeliveredInvoiced (testLegacyBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_01_delivery_mode_on_sale_packing_list_and_invoice (testLegacyConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '236' for key 1")


ERROR: test_01_IfNested (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '1' for key 1")


ERROR: test_01_QuantityDivergenceTester (Products.ERP5.tests.testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_01_renderEvent (Products.ERP5.tests.testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 905, in _installBusinessTemplateList
    update_translation=1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4861, in install
    return self._install(**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 4792, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3726, in install
    kw.get('object_to_update'))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Document/BusinessTemplate.py", line 3704, in _migrateAllFilesystemPropertySheets
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '129' for key 1")


ERROR: test_01_singlePackingListImmobilisationStateChange (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 817, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in setUpERP5Site
    quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 907, in _installBusinessTemplateList
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/ActivityBuffer.py", line 107, in _prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/CMFActivity/Activity/SQLDict.py", line 89, in prepareQueueMessageList
    order_validation_text_list = order_validation_text_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 454, in query
    c = self._query(qs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ZMySQLDA/db.py", line 397, in _query
    self.db.query(query)
IntegrityError: (1062, "Duplicate entry '250' for key 1")


FAIL: test_01_SimpleInvoice (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2554, in test_01_SimpleInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckInvoiceLineHasReferenceAndIntIndex
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_01_quantity_unit_copied (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 1432, in test_01_quantity_unit_copied
    self.assertNotEquals(related_packing_list, None)
AssertionError: None == None


FAIL: test_02_TwoInvoicesFromTwoPackingList (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2586, in test_02_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      DefineNewPackingListContainer
      Tic
      CheckNewPackingListIsPacked
      SetReadyPackingList
      SetReadyNewPackingList
      Tic
      StartPackingList
      StartNewPackingList
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForTransactionBuilder
      StartTwoInvoices
      Tic
      CheckTwoInvoicesTransactionLines
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_03_InvoiceEditAndInvoiceRule (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2617, in test_03_InvoiceEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      Tic
      CheckInvoiceBuilding
      EditInvoice
      CheckInvoiceRuleNotAppliedOnInvoiceEdit
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_04_PackingListEditAndInvoiceRule (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2635, in test_04_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_05_InvoiceEditPackingListLine (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2659, in test_05_InvoiceEditPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      EditPackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_06_InvoiceDeletePackingListLine (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2683, in test_06_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
    > CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_07_InvoiceAddPackingListLine (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2710, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      AddPackingListLine
      SetContainerFullQuantity
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_08_InvoiceDecreaseQuantity (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2749, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_09_InvoiceChangeStartDateFail (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2783, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_09b_InvoiceChangeStartDateSucceed (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2827, in test_09b_InvoiceChangeStartDateSucceed
    self.playSequence(sequence, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_10_AcceptDecisionOnPackingList (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2892, in test_10_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_11_AcceptDecisionOnPackingListAndInvoice (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3028, in test_11_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      IncreaseInvoiceLineQuantity
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_12_SplitPackingListAndAcceptInvoice (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3140, in test_12_SplitPackingListAndAcceptInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      IncreaseInvoiceLineQuantity
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      SwitchPackingLists
      AddPackingListContainer
      SetContainerFullQuantity
      Tic
      CheckPackingListIsSolved
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      SetInvoiceLineQuantityToZero
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_13_SplitAndDeferInvoice (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3209, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      SwitchInvoices
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_14_AcceptDecisionOnInvoice (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3276, in test_14_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_16_ManuallyAddedMovements (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3327, in test_16_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLines
      Tic
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_16a_ManuallyAddedMovementsManyTransactions (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 2943, in test_16a_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLinesManyTransactions
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyOrder.py", line 949, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_17_ManuallyAddedWrongMovements (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3353, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule


(truncated) ...


More information about the Erp5-report mailing list