[Erp5-report] ERP5_z212 r43085 : 4541 Tests, 3211 Errors, 22 Failures, 77 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Feb 5 03:29:27 CET 2011


Test Suite: ERP5_z212
Revision: 43085
Result: FAIL

All tests: 4541
Failures: 22
Errors: 3211
Skips: 77



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                              (24 errors)
   test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_autoplanned (testAdvancedInvoicing.TestWorkflow)

  testAmount                                         (1 errors)
   test_01_variationProperty (testAmount.TestAmount)

  testApparelModel                                   (2 errors)
   test_checkCopyColourRangeVariation (testApparelModel.TestApparelModel)

  testApparelTransformation                          (1 errors)
   test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)

  testArchive                                        (1 errors)
   test_Archive (testArchive.TestArchive)

  testBPMCore                                        (14 errors)
   test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
   test_isBuildable_OrderedDeliveredInvoiced (testBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, delivered and invoiced sequence
   test_isCompleted_OrderedDeliveredInvoiced (testBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, delivered and invoiced sequence
   test_isFrozen_OrderedDeliveredInvoiced (testBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, delivered and invoiced sequence

  testBase                                           (26 errors)
   test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)

  testBudget                                         (20 errors)
   test_all_other_and_strict_consumption (testBudget.TestBudget)

  testBusinessTemplate                               (87 errors)
   test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)

  testCMFActivity                                    (138 errors)
   testMessageContainsFailureTraceback (testCMFActivity.TestCMFActivity)

  testCMFCategory                                    (45 errors)
   test_00_HasEverything (testCMFCategory.TestCMFCategory)

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

  testCacheTool                                      (1 failures)
   test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins

  testCalendar                                       (17 errors)
   test_01_CatalogCalendarPeriod (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)

  testContentTranslation                             (2 errors)
   testCatalogSearch (testContentTranslation.TestContentTranslation)

  testConversionInSimulation                         (7 errors)
   test_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)

  testCrmReports                                     (10 errors)
   testCampaignDetailedReport (testCrmReports.TestCrmReports)

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

  testDeferredConnection                             (3 errors)
   test_01_disconnectsCausesError (testDeferredConnection.TestDeferredConnection)
   test_02_disconnectionRobustness (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                                            (92 errors)
   testOOoDocument_get_size (testDms.TestDocument)
   test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

  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)

  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)

  testERP5Security                                   (47 errors)
   test_AssignmentWithBadStartDate (testERP5Security.TestUserManagement), Tests a person with an assignment with bad start date is not a valid user.
   testAcquireLocalRoles (testERP5Security.TestLocalRoleManagement), Tests that document does not acquire loal roles from their parents if

  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)

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

  testGUIwithSecurity                                (1 errors)
   test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)

  testICal                                           (3 errors)
   test_01_renderEvent (testICal.TestICal)

  testImmobilisation                                 (22 errors)
   test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)

  testIngestion                                      (36 errors)
   test_01_PreferenceSetup (testIngestion.TestIngestion)

  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)

  testItem                                           (25 errors)
   test_01_ItemSimpleTest (testItem.TestItem)
   test_Item_getCurrentOwnerTitle (testItem.TestItemScripts)

  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.

  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)

  testLegacyERP5Commerce                             (28 errors)
   test_01_AddResourceToShoppingCart (Products.ERP5.tests.testERP5Commerce.TestCommerce)

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

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

  testLegacyInvoice                                  (51 errors)
   test_01_SimpleInvoice (testLegacyInvoice.TestSaleInvoice)

  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                           (17 errors)
   test_01_ItemSimpleTest (Products.ERP5.tests.testItem.TestItem)

  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)

  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)

  testRSS                                            (3 errors)
   test_00_haveData (testRSS.TestRSS)

  testResource                                       (18 errors)
   testGetPriceWithPriceCurrency (testResource.TestResource)

  testReturnedSalePackingList                        (7 errors)
   test_01_ReturnedSalePackingListWithInventory (testReturnedSalePackingList.TestReturnedSalePackingList)

  testRoundingTool                                   (2 errors)
   testBasicRounding (testRoundingTool.TestRoundingTool)

  testRule                                           (11 errors)
   test_01_ValidatedRuleWithNoScript (testRule.TestRule)

  testScribusUtils                                   (9 errors)
   test_01_SimpleModuleCreation (testScribusUtils.TestScribusUtils), Just create a module using scribus file and pdf file with minimal

  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)

  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:

  testBPMEvaluation                                  (40 skips)
   done (7.184s)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'

  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)

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

  testIngestionWithFlare                             (4 skips)

  testPreferences                                    (1 skips)

  testProxyField                                     (1 skips)

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

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

  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: 19901 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110205/0169fc01/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.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 '130' for key 1")


ERROR: test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
----------------------------------------------------------------------
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_AccountValidation (testAccounting.TestAccounts)
----------------------------------------------------------------------
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 '194' 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.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 '196' for key 1")


ERROR: test_AccountingTransactionValidationAfterPeriod (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
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_export_transaction (testAccounting.TestAccountingExport)
----------------------------------------------------------------------
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 '216' for key 1")


ERROR: test_Base_doAction (testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
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 '316' for key 1")


ERROR: testAccountStatement (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
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 '296' for key 1")


ERROR: testAccountStatementAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
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_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 '194' 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.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 '131' for key 1")


ERROR: test_01_checkAcknowledgementToolWithOneEvent (testAcknowledgementTool.TestAcknowledgementTool)
----------------------------------------------------------------------
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_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 '380' for key 1")


ERROR: test_autoplanned (testAdvancedInvoicing.TestWorkflow)
----------------------------------------------------------------------
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 '388' 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 '357' for key 1")


ERROR: test_checkCopyColourRangeVariation (testApparelModel.TestApparelModel)
----------------------------------------------------------------------
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 '158' for key 1")


ERROR: test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)
----------------------------------------------------------------------
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 '52' for key 1")


ERROR: test_Archive (testArchive.TestArchive)
----------------------------------------------------------------------
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_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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 '2' for key 1")


ERROR: test_isBuildable_OrderedDeliveredInvoiced (testBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
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_isCompleted_OrderedDeliveredInvoiced (testBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
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_isFrozen_OrderedDeliveredInvoiced (testBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
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 '129' for key 1")


ERROR: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
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 '119' for key 1")


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 '140' for key 1")


ERROR: test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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: testMessageContainsFailureTraceback (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
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_00_HasEverything (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
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 '194' for key 1")


FAIL: test_MailFromOtherEvents (testCRM.TestCRMMailSend)
----------------------------------------------------------------------
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/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="===============0101287200158546374=="\nMIME-Version: 1.0\nDate: Sat, 05 Feb 2011 01:50:10 +0100\nFrom: "Me," <me at erp5.org>\nSubject: =?utf-8?q?A_Mail?=\nTo: "Recipient," <recipient at example.com>\n\n--===============0101287200158546374==\nContent-Type: text/plain; charset="utf-8"\nMIME-Version: 1.0\nContent-Transfer-Encoding: quoted-printable\n\nMail Content\n--===============0101287200158546374==--\n')


FAIL: test_MailMarkPosted (testCRM.TestCRMMailSend)
----------------------------------------------------------------------
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/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="===============0101287200158546374=="\nMIME-Version: 1.0\nDate: Sat, 05 Feb 2011 01:50:10 +0100\nFrom: "Me," <me at erp5.org>\nSubject: =?utf-8?q?A_Mail?=\nTo: "Recipient," <recipient at example.com>\n\n--===============0101287200158546374==\nContent-Type: text/plain; charset="utf-8"\nMIME-Version: 1.0\nContent-Transfer-Encoding: quoted-printable\n\nMail Content\n--===============0101287200158546374==--\n')


FAIL: test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
----------------------------------------------------------------------
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/products/ERP5Type/tests/testCacheTool.py", line 508, in test_06_CheckCacheExpiration
    self.assertTrue(calculation_time > 1.0)
AssertionError


ERROR: test_01_CatalogCalendarPeriod (testCalendar.TestCalendar)
----------------------------------------------------------------------
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 '129' for key 1")


ERROR: test_AsDocumentationHelperOnClassTool (testClassTool.TestClassTool)
----------------------------------------------------------------------
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/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.4/Products/ERP5Type/Tool/ClassTool.py", line 1113, in asDocumentationHelper
    description=inspect.getdoc(my_class))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 3595, in asDocumentationHelper
    description=inspect.getdoc(documented_item),
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 3595, in asDocumentationHelper
    description=inspect.getdoc(documented_item),
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 3595, in asDocumentationHelper
    description=inspect.getdoc(documented_item),
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/Base.py", line 3998, in newTempDocumentationHelper
    o._edit(force_update=1, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/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.4/Products/ERP5Type/Base.py", line 1498, in _setProperty
    return method(value, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.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 '523' for key 1")


ERROR: test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
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 '541' for key 1")


ERROR: test_OverrideMessage (testConstraint.TestConstraint)
----------------------------------------------------------------------
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/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.3/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: testCatalogSearch (testContentTranslation.TestContentTranslation)
----------------------------------------------------------------------
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_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 '575' for key 1")


ERROR: testCampaignDetailedReport (testCrmReports.TestCrmReports)
----------------------------------------------------------------------
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 '131' for key 1")


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.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_01_disconnectsCausesError (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1066, in tearDown
    message_list = portal_activities.getMessageList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/ActivityTool.py", line 1394, in getMessageList
    message_list += activity.getMessageList(aq_inner(self),**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFActivity/Activity/SQLBase.py", line 85, in getMessageList
    include_processing=include_processing)]
  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 441, in query
    self._use_TM and self._register()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/TM.py", line 25, in TM__register
    transaction.get().register(Surrogate(self))
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 299, in register
    self.join(adapter)
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "/home/jm/buildout-2.12/bin/python2.6", line 159, in <module>
    _val, {}, "__main__", alter_sys=True)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/runpy.py", line 136, in run_module
    fname, loader, pkg_name)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/runpy.py", line 54, in _run_module_code
    mod_loader, pkg_name)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 742, in <module>
    sys.exit(main())
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 725, in main
    run_only=run_only,
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 533, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/jm/slave/full.ERP5_z212/build/Products/ERP5Type/tests/backportUnittest.py", line 270, in run
    test(result)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 574, in __call__
    self.run(*args, **kw)
  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/ZMySQLDDA/tests/testDeferredConnection.py", line 147, in test_01_disconnectsCausesError
    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 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 424, in _commitResources
    rm.tpc_finish(self)
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 524, in tpc_finish
    self.manager.tpc_finish(txn)
  File "/home/jm/buildout-2.12/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Shared/DC/ZRDB/TM.py", line 60, in tpc_finish
    try: self._finish()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDDA/db.py", line 438, in _finish
    self._query("SELECT 1", force_reconnect=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 61, in fake_db_query
    raise OperationalError, (hosed_connection[0], 'dummy exception')
OperationalError: (2006, 'dummy exception')



ERROR: test_02_disconnectionRobustness (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
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 930, in setUpERP5Site
    app.test_portal_name = portal_name
  File "/home/jm/buildout-2.12/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1003, in register
    self._register(obj)
  File "/home/jm/buildout-2.12/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1013, in _register
    self.transaction_manager.get().join(self)
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "/home/jm/buildout-2.12/bin/python2.6", line 159, in <module>
    _val, {}, "__main__", alter_sys=True)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/runpy.py", line 136, in run_module
    fname, loader, pkg_name)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/runpy.py", line 54, in _run_module_code
    mod_loader, pkg_name)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 742, in <module>
    sys.exit(main())
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 725, in main
    run_only=run_only,
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 533, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/jm/slave/full.ERP5_z212/build/Products/ERP5Type/tests/backportUnittest.py", line 270, in run
    test(result)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/buildout-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 574, in __call__
    self.run(*args, **kw)
  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/ZMySQLDDA/tests/testDeferredConnection.py", line 147, in test_01_disconnectsCausesError
    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 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 424, in _commitResources
    rm.tpc_finish(self)
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 524, in tpc_finish
    self.manager.tpc_finish(txn)
  File "/home/jm/buildout-2.12/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Shared/DC/ZRDB/TM.py", line 60, in tpc_finish
    try: self._finish()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDDA/db.py", line 438, in _finish
    self._query("SELECT 1", force_reconnect=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 61, in fake_db_query
    raise OperationalError, (hosed_connection[0], 'dummy exception')
OperationalError: (2006, 'dummy exception')



ERROR: test_normal_form (testDeferredStyle.TestODSDeferredStyle)
----------------------------------------------------------------------
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_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 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 (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
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 '236' 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 '218' 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 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testDms.py", line 2423, in test_DownloadableDocumentSize
    text_document.edit(file=f.read())
  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/File.py", line 118, in _edit
    self._setFile(file_object, precondition=precondition)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 253, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/InteractionWorkflow.py", line 291, in notifySuccess
    script(sci)  # May throw an exception
  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 2, in Document_upload
Unauthorized: You are not allowed to access 'hasBaseData' in this context


ERROR: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 2400, in test_ShowPreviewAfterSubmitted
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/Tool/ContributionTool.py", line 267, in newContent
    document._edit(**kw)
  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/File.py", line 118, in _edit
    self._setFile(file_object, precondition=precondition)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 253, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/InteractionWorkflow.py", line 291, in notifySuccess
    script(sci)  # May throw an exception
  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 2, in Document_upload
Unauthorized: You are not allowed to access 'hasBaseData' in this context


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 '129' 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 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 '129' for key 1")


ERROR: test_01_RunCheckStockTableAlarm (testERP5Administration.TestERP5Administration)
----------------------------------------------------------------------
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 '641' for key 1")


ERROR: test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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_getPropertyForUid (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
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/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.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.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/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.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/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.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/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.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/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.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/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.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 '131' for key 1")


ERROR: test_01_GetSynchronizationList (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
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 '1' for key 1")


ERROR: test_AssignmentWithBadStartDate (testERP5Security.TestUserManagement), Tests a person with an assignment with bad start date is not a valid user.
----------------------------------------------------------------------
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: testAcquireLocalRoles (testERP5Security.TestLocalRoleManagement), Tests that document does not acquire loal roles from their parents if
----------------------------------------------------------------------
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_splitAndDefer (testERP5Simulation.TestERP5Simulation)
----------------------------------------------------------------------
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_SocialContract (testERP5SocialContracts.TestERP5SocialContracts)
----------------------------------------------------------------------
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 '136' 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 '3' for key 1")


ERROR: test_04_FirstVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)
----------------------------------------------------------------------
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_copyWithoutModificationRight (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
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/products/ERP5Type/tests/testERP5Type.py", line 2543, in test_copyWithoutModificationRight
    folder.manage_pasteObjects(clipboard)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.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_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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: 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.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_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)
----------------------------------------------------------------------
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 '129' for key 1")


ERROR: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
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 '196' for key 1")


ERROR: test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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 '134' for key 1")


ERROR: test_01_PreferenceSetup (testIngestion.TestIngestion)
----------------------------------------------------------------------
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")


FAIL: test_14_ContributionToolIndexation (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
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/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.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/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.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/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.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 '196' for key 1")


ERROR: testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
----------------------------------------------------------------------
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/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.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 '129' for key 1")


ERROR: testPrecision (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
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_NotVariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
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 '131' for key 1")


ERROR: test_01_SimpleInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
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 '211' for key 1")


ERROR: test_01_ItemSimpleTest (testItem.TestItem)
----------------------------------------------------------------------
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_Item_getCurrentOwnerTitle (testItem.TestItemScripts)
----------------------------------------------------------------------
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_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.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 '435' 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.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_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.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 '327' 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.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 '334' 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.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 '336' 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.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 '389' 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.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 '391' 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.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 '434' 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.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 '436' 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.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 '8' 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.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_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.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_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.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 '429' 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.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 '205' 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.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_01_AddResourceToShoppingCart (Products.ERP5.tests.testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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 '373' 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.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_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 '181' for key 1")


ERROR: 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 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_TransformationRule_expand (Products.ERP5.tests.testMRP.TestMRPImplementation)
----------------------------------------------------------------------
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_OrderLine_getVariationRangeCategoryList (testLegacyOrder.TestOrder)
----------------------------------------------------------------------
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 '148' for key 1")


ERROR: test_01_PackingListDecreaseQuantity (testLegacyPackingList.TestPackingList)
----------------------------------------------------------------------
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 '194' for key 1")


ERROR: test_01_testProductionSimulationExpand (testLegacyProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
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 '529' for key 1")


ERROR: test_01_testTaskBasicUseCase (Products.ERP5.tests.testTask.TestTask)
----------------------------------------------------------------------
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 '145' for key 1")


ERROR: testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)
----------------------------------------------------------------------
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 '194' for key 1")


ERROR: test_01_TestReportLineChangeQuantity (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
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 '196' for key 1")


ERROR: testProject_getSourceProjectRelatedTaskReportList (Products.ERP5.tests.testProject.TestProject)
----------------------------------------------------------------------
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 '209' for key 1")


ERROR: test_01_ReturnedSalePackingListWithInventory (Products.ERP5.tests.testReturnedSalePackingList.TestReturnedSalePackingList)
----------------------------------------------------------------------
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 '187' for key 1")


ERROR: test_01_TwoInvoicesFromTwoPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
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_autoplanned (Products.ERP5.tests.testAdvancedInvoicing.TestWorkflow)
----------------------------------------------------------------------
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 '323' for key 1")


ERROR: test_01_getInventory (Products.ERP5.tests.testInventory.TestInventory)
----------------------------------------------------------------------
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: testPrecision (Products.ERP5.tests.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 '137' for key 1")


ERROR: test_01_NotVariatedInventory (Products.ERP5.tests.testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
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 '425' for key 1")


ERROR: test_01_SimpleInvoice (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
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 '136' for key 1")


ERROR: test_01_ItemSimpleTest (Products.ERP5.tests.testItem.TestItem)
----------------------------------------------------------------------
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 '669' for key 1")


ERROR: test_01_OrderLine_getVariationRangeCategoryList (Products.ERP5.tests.testOrder.TestOrder)
----------------------------------------------------------------------
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 '323' for key 1")


ERROR: test_01_simpleOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
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_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestPackingList)
----------------------------------------------------------------------
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_01_testProductionSimulationExpand (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
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 '196' for key 1")


ERROR: test_01_sourcingDelivery (Products.ERP5.tests.testProductionPackingList.TestProductionDelivery)
----------------------------------------------------------------------
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 '209' for key 1")


ERROR: test_01_testProductionSimulationExpand (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
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 '487' for key 1")


ERROR: test_01_sourcingDelivery (Products.ERP5.tests.testProductionPackingListApparel.TestProductionDeliveryApparel)
----------------------------------------------------------------------
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 '534' for key 1")


ERROR: test_01_ValidatedRuleWithNoScript (Products.ERP5.tests.testRule.TestRule)
----------------------------------------------------------------------
Traceback (most recent call last):


(truncated) ...


More information about the Erp5-report mailing list