[Erp5-report] ERP5 r44650 : 4585 Tests, 989 Errors, 25 Failures, 190 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Mar 26 01:46:11 CET 2011


Test Suite: ERP5
Revision: None
Result: FAIL

All tests: 4585
Failures: 25
Errors: 989
Skips: 190



The following tests failed:

  testAccounting                                     (13 errors)
   test_AccountingPeriodNotStoppedTransactions (testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
   test_AccountingPeriodOtherSections (testAccounting.TestAccountingWithSequences), Accounting Periods does not change other section transactions.
   test_AccountingPeriodRefusesWrongDateTransactionValidation (testAccounting.TestAccountingWithSequences), Accounting Periods prevents transactions from being validated when there
   test_AccountingTransactionValidationAccounts (testAccounting.TestAccountingWithSequences), Transaction validation and accounts
   test_AccountingTransactionValidationBalanced (testAccounting.TestAccountingWithSequences), Transaction validation and balance
   test_AccountingTransactionValidationCurrency (testAccounting.TestAccountingWithSequences), Transaction validation and currency
   test_AccountingTransactionValidationDate (testAccounting.TestAccountingWithSequences), Transaction validation and dates
   test_AccountingTransactionValidationPayment (testAccounting.TestAccountingWithSequences), Transaction validation and payment
   test_AccountingTransactionValidationRemoveEmptyLines (testAccounting.TestAccountingWithSequences), Transaction validation removes empty lines
   test_AccountingTransactionValidationSection (testAccounting.TestAccountingWithSequences), Transaction validation and section
   test_Acquisition (testAccounting.TestAccountingWithSequences), Tests acquisition, categories and portal types are well
   test_MultiCurrencyInvoice (testAccounting.TestAccountingWithSequences), Basic test for multi currency accounting
   test_createAccountingTransaction (testAccounting.TestAccountingWithSequences), Make sure acounting transactions created by createAccountingTransaction

  testAdvancedInvoicing                              (17 errors, 4 skips)
   test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_02_InvoiceDeletePackingListLine (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_03_InvoiceDecreaseQuantity (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_05_AcceptDecisionOnPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_06_AcceptDecisionOnPackingListAndInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_07_SplitAndDeferInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_08_AcceptDecisionOnInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_10_ManuallyAddedMovements (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_11_ManuallyAddedMovementsManyTransactions (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_12_compareInvoiceAndPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedPurchaseInvoice)
   test_autoplanned (testAdvancedInvoicing.TestWorkflow)

  testBase                                           (1 errors, 3 skips)
   test_Member_Base_download (testBase.TestBase)

  testBudget                                         (1 errors)
   test_simple_consumption (testBudget.TestBudget)

  testCRM                                            (2 errors, 2 skips)
   test_PersonModule_CreateRelatedEventCheckedUid (testCRM.TestCRM)
   test_PersonModule_CreateRelatedEventSelectionParams (testCRM.TestCRM)

  testContentTranslation                             (1 errors)
   testContentTranslation (testContentTranslation.TestContentTranslation)

  testDeliveryBuilderToSupportMultipleLines          (2 errors, 2 skips)
   test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testDiscussionThread                               (2 failures, 2 errors)
   testAdminCanModerate (testDiscussionThread.TestDiscussionThread)
   testUserCannotModerate (testDiscussionThread.TestDiscussionThread)
   testCanPostIfNotOwner (testDiscussionThread.TestDiscussionThread)
   testSpyCannotAccessButVisitorCan (testDiscussionThread.TestDiscussionThread)

  testDivergenceTester                               (5 errors)
   test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_02_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_03_PropertyDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_04_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_QuantityDivergenceTesterCompareMethod (testDivergenceTester.TestDivergenceTester)

  testDms                                            (1 failures, 1 skips)
   test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)

  testDmsWithFlare                                   (1 failures, 1 skips)
   test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)

  testERP5Administration                             (1 errors)
   test_check_consistency_alarm (testERP5Administration.TestERP5Administration)

  testERP5Base                                       (1 errors, 1 skips)
   test_CreateImage (testERP5Base.TestERP5Base)

  testERP5Catalog                                    (6 errors, 4 skips)
   test_50_LocalRolesArgument (testERP5Catalog.TestERP5Catalog), test local_roles= argument
   test_EscapingLoginInSescurityQuery (testERP5Catalog.TestERP5Catalog)
   test_MonoValueAssigneeIndexing (testERP5Catalog.TestERP5Catalog)
   test_RealOwnerIndexing (testERP5Catalog.TestERP5Catalog)
   test_UserOrGroupLocalRoleIndexing (testERP5Catalog.TestERP5Catalog)
   test_UserOrGroupRoleIndexing (testERP5Catalog.TestERP5Catalog)

  testERP5Core                                       (5 failures, 4 errors)
   test_01_ERP5Site_createModule (testERP5Core.TestERP5Core)
   test_anonymous_actions_on_portal (testERP5Core.TestERP5Core)
   test_manager_actions_on_portal (testERP5Core.TestERP5Core)
   test_member_actions_on_portal (testERP5Core.TestERP5Core)
   test_allowed_content_types_translated (testERP5Core.TestERP5Core), Tests allowed content types from the action menu are translated
   test_catalog_with_very_long_login_name (testERP5Core.TestERP5Core), Make sure that user with very long login name can find his document by catalog
   test_frontpage (testERP5Core.TestERP5Core), Test we can view the front page.
   test_jump_action_translated (testERP5Core.TestERP5Core), Tests jump actions are translated
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5Credential                                 (5 errors)
   test_01_simpleSubsciptionRequest (testERP5Credential.TestERP5Credential)
   test_02_acceptSubscriptionRequest (testERP5Credential.TestERP5Credential)
   test_03_simpleCredentialUpdate (testERP5Credential.TestERP5Credential)
   test_04_automaticCredentialRequestApproval (testERP5Credential.TestERP5Credential)
   test_05_automaticCredentialUpdateApproval (testERP5Credential.TestERP5Credential)

  testERP5DocumentSyncML                             (1 failures, 2 errors)
   test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Security                                   (3 failures)
   testERP5ExternalAuthenticationPlugin (testERP5Security.TestLocalRoleManagement)
   testKeyAuthentication (testERP5Security.TestLocalRoleManagement)
   testLocalRoleWithTraverser (testERP5Security.TestLocalRoleManagement), Make sure that local role works correctly when traversing

  testERP5Simulation                                 (1 errors)
   test_01_splitAndDefer (testERP5Simulation.TestERP5Simulation)

  testERP5Type                                       (2 errors, 1 skips)
   test_21_ActionCondition (testERP5Type.TestERP5Type), Tests action conditions
   test_actionPriority (testERP5Type.TestERP5Type), Tests action priority

  testERP5Web                                        (3 failures, 2 errors, 2 skips)
   test_06_DefaultDocumentForWebSection (testERP5Web.TestERP5Web)
   test_06b_DefaultDocumentForWebSite (testERP5Web.TestERP5Web)
   test_13_DocumentCache (testERP5Web.TestERP5Web)
   test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)
   test_14_AccessWebSiteForWithDifferentUserPreferences (testERP5Web.TestERP5Web), Check that Ram Cache Manager do not mix websection

  testERP5WebWithDms                                 (1 failures, 1 errors)
   test_04_WebSectionAuthorizationForcedForDefaultDocument (testERP5WebWithDms.TestERP5WebWithDms), Check that when a Web Section contains a default document not accessible by user we have a chance to
   test_07_TestDocumentViewBehaviour (testERP5WebWithDms.TestERP5WebWithDms), All Documents shared the same downloading behaviour

  testERP5eGov                                       (2 errors)
   test_02_application_creation (testERP5eGov.TestEgov)
   test_05_process_application (testERP5eGov.TestEgov)

  testEditorField                                    (8 errors)
   test_EditSimpleEmailEventFCKEditorHTML (testEditorField.TestEditorField)
   test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)
   test_EditWebPageFCKEditorHTML (testEditorField.TestEditorField)
   test_EditWebPageFCKEditorText (testEditorField.TestEditorField)
   test_EditWebPageTextAreaHTML (testEditorField.TestEditorField)
   test_EditWebPageTextAreaText (testEditorField.TestEditorField)

  testFieldValueCache                                (1 errors)
   testEditZMIFieldPurgesValueCache (testFieldValueCache.TestFieldValueCache)

  testGUIwithSecurity                                (1 errors)
   test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)

  testIngestionWithFlare                             (1 errors, 4 skips)
   test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)

  testInternalOrder                                  (4 errors)
   test_15_deliveryBuilder (testInternalOrder.TestInternalOrder)
   test_16_deliveryBuilderWithNoTic (testInternalOrder.TestInternalOrder)
   test_17_orderExpand (testInternalOrder.TestInternalOrder)
   test_sale_order_view_parent_domain (testInternalOrder.TestInternalOrder)

  testInvoice                                        (21 errors, 7 skips)
   test_01_SimpleInvoice (testInvoice.TestSaleInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestSaleInvoice)
   test_03_InvoiceEditAndInvoiceRule (testInvoice.TestSaleInvoice)
   test_04_PackingListEditAndInvoiceRule (testInvoice.TestSaleInvoice)
   test_05_InvoiceEditPackingListLine (testInvoice.TestSaleInvoice)
   test_06_InvoiceDeletePackingListLine (testInvoice.TestSaleInvoice)
   test_08_InvoiceDecreaseQuantity (testInvoice.TestSaleInvoice)
   test_10_AcceptDecisionOnPackingList (testInvoice.TestSaleInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestSaleInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testInvoice.TestSaleInvoice)
   test_14_AcceptDecisionOnInvoice (testInvoice.TestSaleInvoice)
   test_16_ManuallyAddedMovements (testInvoice.TestSaleInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testInvoice.TestSaleInvoice)
   test_17_ManuallyAddedWrongMovements (testInvoice.TestSaleInvoice)
   test_18_compareInvoiceAndPackingList (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)

  testItem                                           (10 errors, 13 skips)
   test_01_ItemSimpleTest (testItem.TestItem)
   test_02_ItemWithInvoice (testItem.TestItem)
   test_03_CreateItemsFromPackingListLine (testItem.TestItem)
   test_07_WithPackingListChangePackingListQuantityAndAccept (testItem.TestItem)
   test_08_ChangePackingListDateAndAccept (testItem.TestItem)
   test_10_ChangeOrderQuantityAndAdoptOnPackingList (testItem.TestItem)
   test_11_ChangeOrderQuantityAndAcceptOnPackingList (testItem.TestItem)
   test_14_ManuallyAddPackingListWithItem (testItem.TestItem)
   test_15_ThreeOrderLines (testItem.TestItem)
   test_select_item_dialog_no_variation (testItem.TestItem)

  testKM                                             (16 errors, 3 skips)
   test_01ProperPoolInitialization (testKM.TestKM), Check that it's properly initialized
   test_02 (testKM.TestKM), Check Gadgets
   test_03DefaultKnowledgePadFromPreference (testKM.TestKM), Check Gadgets
   test_04WebFrontGadgets (testKM.TestKM), Check different Web / KM Gadgets
   test_05MyTaskGadget (testKM.TestKM), Check My Task Gadgets
   test_06MyDocumentsGadget (testKM.TestKM), Check My Document Gadgets
   test_07MyContactsGadget (testKM.TestKM), Check My Contacts Gadgets
   test_08WebSectionGadget (testKM.TestKM), Check Web Section Gadgets
   test_10LatestContentGadget (testKM.TestKM), Check Latest Content Gadgets
   test_11AssignedMembersGadget (testKM.TestKM), Check Assigned Members Gadgets
   test_11WebSectionContentGadget (testKM.TestKM), Check  Web Section Content Gadgets
   test_12RelationGadget (testKM.TestKM), Check  Relation Gadgets
   test_15GadgetServerSideFailure (testKM.TestKM)
   test_16WebSiteBrowserGadget (testKM.TestKM)
   test_17AddGadgets (testKM.TestKM), Check Latest Content Gadgets
   test_18_AssignedMembersToProject (testKM.TestKM), Test assigned members to a project. Project is defined in a Web Section

  testLegacyAccounting                               (13 errors)
   test_AccountingPeriodNotStoppedTransactions (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
   test_AccountingPeriodOtherSections (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Accounting Periods does not change other section transactions.
   test_AccountingPeriodRefusesWrongDateTransactionValidation (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Accounting Periods prevents transactions from being validated when there
   test_AccountingTransactionValidationAccounts (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and accounts
   test_AccountingTransactionValidationBalanced (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and balance
   test_AccountingTransactionValidationCurrency (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and currency
   test_AccountingTransactionValidationDate (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and dates
   test_AccountingTransactionValidationPayment (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and payment
   test_AccountingTransactionValidationRemoveEmptyLines (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation removes empty lines
   test_AccountingTransactionValidationSection (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and section
   test_Acquisition (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Tests acquisition, categories and portal types are well
   test_MultiCurrencyInvoice (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Basic test for multi currency accounting
   test_createAccountingTransaction (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Make sure acounting transactions created by createAccountingTransaction

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

  testLegacyDivergenceTester                         (5 errors)
   test_01_QuantityDivergenceTester (testLegacyDivergenceTester.TestDivergenceTester)

  testLegacyInvoice                                  (24 errors)
   test_01_SimpleInvoice (testLegacyInvoice.TestSaleInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testLegacyInvoice.TestSaleInvoice)
   test_03_InvoiceEditAndInvoiceRule (testLegacyInvoice.TestSaleInvoice)
   test_04_PackingListEditAndInvoiceRule (testLegacyInvoice.TestSaleInvoice)
   test_05_InvoiceEditPackingListLine (testLegacyInvoice.TestSaleInvoice)
   test_06_InvoiceDeletePackingListLine (testLegacyInvoice.TestSaleInvoice)
   test_07_InvoiceAddPackingListLine (testLegacyInvoice.TestSaleInvoice)
   test_08_InvoiceDecreaseQuantity (testLegacyInvoice.TestSaleInvoice)
   test_09_InvoiceChangeStartDateFail (testLegacyInvoice.TestSaleInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testLegacyInvoice.TestSaleInvoice)
   test_10_AcceptDecisionOnPackingList (testLegacyInvoice.TestSaleInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testLegacyInvoice.TestSaleInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testLegacyInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testLegacyInvoice.TestSaleInvoice)
   test_14_AcceptDecisionOnInvoice (testLegacyInvoice.TestSaleInvoice)
   test_16_ManuallyAddedMovements (testLegacyInvoice.TestSaleInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testLegacyInvoice.TestSaleInvoice)
   test_17_ManuallyAddedWrongMovements (testLegacyInvoice.TestSaleInvoice)
   test_18_compareInvoiceAndPackingList (testLegacyInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testLegacyInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacyInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacyInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacyInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacyInvoice.TestPurchaseInvoice)

  testLegacyOrder                                    (3 errors)
   test_15_deliveryBuilder (testLegacyOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (testLegacyOrder.TestOrder)
   test_17_orderExpand (testLegacyOrder.TestOrder)

  testLegacyPackingList                              (42 errors)
   test_01_PackingListDecreaseQuantity (testLegacyPackingList.TestPackingList)
   test_02_PackingListChangeDestination (testLegacyPackingList.TestPackingList)
   test_03_PackingListChangeStartDate (testLegacyPackingList.TestPackingList)
   test_04_PackingListDeleteLine (testLegacyPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testLegacyPackingList.TestPackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacyPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacyPackingList.TestPackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacyPackingList.TestPackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacyPackingList.TestPackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacyPackingList.TestPackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacyPackingList.TestPackingList)
   test_06_SimulationChangeStartDate (testLegacyPackingList.TestPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPackingList)
   test_08_AddContainers (testLegacyPackingList.TestPackingList)
   test_09_AddContainersWithVariatedResources (testLegacyPackingList.TestPackingList)
   test_10_PackingListIncreaseQuantity (testLegacyPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPackingList)
   test_12_PackingListLineChangeResource (testLegacyPackingList.TestPackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacyPackingList.TestPackingList)
   test_SplitAndDeferDoNothing (testLegacyPackingList.TestPackingList)
   test_01_PackingListDecreaseQuantity (testLegacyPackingList.TestPurchasePackingList)
   test_02_PackingListChangeDestination (testLegacyPackingList.TestPurchasePackingList)
   test_03_PackingListChangeStartDate (testLegacyPackingList.TestPurchasePackingList)
   test_04_PackingListDeleteLine (testLegacyPackingList.TestPurchasePackingList)
   test_05_SimulationChangeQuantity (testLegacyPackingList.TestPurchasePackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacyPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacyPackingList.TestPurchasePackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacyPackingList.TestPurchasePackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacyPackingList.TestPurchasePackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacyPackingList.TestPurchasePackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacyPackingList.TestPurchasePackingList)
   test_06_SimulationChangeStartDate (testLegacyPackingList.TestPurchasePackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPurchasePackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPurchasePackingList)
   test_08_AddContainers (testLegacyPackingList.TestPurchasePackingList)
   test_09_AddContainersWithVariatedResources (testLegacyPackingList.TestPurchasePackingList)
   test_10_PackingListIncreaseQuantity (testLegacyPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPurchasePackingList)
   test_12_PackingListLineChangeResource (testLegacyPackingList.TestPurchasePackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacyPackingList.TestPurchasePackingList)
   test_SplitAndDeferDoNothing (testLegacyPackingList.TestPurchasePackingList)

  testLegacySimulationAdvancedInvoicing              (21 errors)
   test_01_TwoInvoicesFromTwoPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_02_InvoiceDeletePackingListLine (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_03_InvoiceDecreaseQuantity (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_04_InvoiceChangeStartDateFail (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_05_AcceptDecisionOnPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_06_AcceptDecisionOnPackingListAndInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_07_SplitAndDeferInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_08_AcceptDecisionOnInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_10_ManuallyAddedMovements (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_11_ManuallyAddedMovementsManyTransactions (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_12_compareInvoiceAndPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice)
   test_autoplanned (Products.ERP5.tests.testAdvancedInvoicing.TestWorkflow)

  testLegacySimulationInvoice                        (24 errors)
   test_01_SimpleInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testLegacySimulationInvoice.TestSaleInvoice)
   test_03_InvoiceEditAndInvoiceRule (testLegacySimulationInvoice.TestSaleInvoice)
   test_04_PackingListEditAndInvoiceRule (testLegacySimulationInvoice.TestSaleInvoice)
   test_05_InvoiceEditPackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
   test_06_InvoiceDeletePackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
   test_07_InvoiceAddPackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
   test_08_InvoiceDecreaseQuantity (testLegacySimulationInvoice.TestSaleInvoice)
   test_09_InvoiceChangeStartDateFail (testLegacySimulationInvoice.TestSaleInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testLegacySimulationInvoice.TestSaleInvoice)
   test_10_AcceptDecisionOnPackingList (testLegacySimulationInvoice.TestSaleInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_14_AcceptDecisionOnInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_16_ManuallyAddedMovements (testLegacySimulationInvoice.TestSaleInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testLegacySimulationInvoice.TestSaleInvoice)
   test_17_ManuallyAddedWrongMovements (testLegacySimulationInvoice.TestSaleInvoice)
   test_18_compareInvoiceAndPackingList (testLegacySimulationInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testLegacySimulationInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacySimulationInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacySimulationInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacySimulationInvoice.TestPurchaseInvoice)

  testLegacySimulationItem                           (15 errors)
   test_01_ItemSimpleTest (Products.ERP5.tests.testItem.TestItem)
   test_02_ItemWithInvoice (Products.ERP5.tests.testItem.TestItem)
   test_03_CreateItemsFromPackingListLine (Products.ERP5.tests.testItem.TestItem)
   test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug (Products.ERP5.tests.testItem.TestItem)
   test_07_WithPackingListChangePackingListQuantityAndAccept (Products.ERP5.tests.testItem.TestItem)
   test_08_ChangePackingListDateAndAccept (Products.ERP5.tests.testItem.TestItem)
   test_09_ChangeOrderDateAndAcceptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_10_ChangeOrderQuantityAndAdoptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_11_ChangeOrderQuantityAndAcceptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_12_CreteSameResourceDifferentItemOrderLines (Products.ERP5.tests.testItem.TestItem)
   test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (Products.ERP5.tests.testItem.TestItem)
   test_14_ManuallyAddPackingListWithItem (Products.ERP5.tests.testItem.TestItem)
   test_15_ThreeOrderLines (Products.ERP5.tests.testItem.TestItem)
   test_select_item_dialog_no_variation (Products.ERP5.tests.testItem.TestItem)
   test_select_item_dialog_variation (Products.ERP5.tests.testItem.TestItem)

  testLegacySimulationOrder                          (4 errors)
   test_15_deliveryBuilder (Products.ERP5.tests.testOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (Products.ERP5.tests.testOrder.TestOrder)
   test_17_orderExpand (Products.ERP5.tests.testOrder.TestOrder)
   test_sale_order_view_parent_domain (Products.ERP5.tests.testOrder.TestOrder)

  testLegacySimulationPackingList                    (51 errors)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestPackingList)
   test_02_PackingListChangeDestination (testLegacySimulationPackingList.TestPackingList)
   test_03_PackingListChangeStartDate (testLegacySimulationPackingList.TestPackingList)
   test_04_PackingListDeleteLine (testLegacySimulationPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testLegacySimulationPackingList.TestPackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacySimulationPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacySimulationPackingList.TestPackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacySimulationPackingList.TestPackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacySimulationPackingList.TestPackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacySimulationPackingList.TestPackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacySimulationPackingList.TestPackingList)
   test_06_SimulationChangeStartDate (testLegacySimulationPackingList.TestPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPackingList)
   test_08_AddContainers (testLegacySimulationPackingList.TestPackingList)
   test_09_AddContainersWithVariatedResources (testLegacySimulationPackingList.TestPackingList)
   test_10_PackingListIncreaseQuantity (testLegacySimulationPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacySimulationPackingList.TestPackingList)
   test_12_PackingListLineChangeResource (testLegacySimulationPackingList.TestPackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacySimulationPackingList.TestPackingList)
   test_17_PackingListOrderLineWithAccount (testLegacySimulationPackingList.TestPackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testLegacySimulationPackingList.TestPackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testLegacySimulationPackingList.TestPackingList)
   test_SplitAndDeferDoNothing (testLegacySimulationPackingList.TestPackingList)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestSolvingPackingList)
   test_02_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestSolvingPackingList)
   test_09_AddContainersWithVariatedResources (testLegacySimulationPackingList.TestSolvingPackingList)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestPurchasePackingList)
   test_02_PackingListChangeDestination (testLegacySimulationPackingList.TestPurchasePackingList)
   test_03_PackingListChangeStartDate (testLegacySimulationPackingList.TestPurchasePackingList)
   test_04_PackingListDeleteLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05_SimulationChangeQuantity (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacySimulationPackingList.TestPurchasePackingList)
   test_06_SimulationChangeStartDate (testLegacySimulationPackingList.TestPurchasePackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_08_AddContainers (testLegacySimulationPackingList.TestPurchasePackingList)
   test_09_AddContainersWithVariatedResources (testLegacySimulationPackingList.TestPurchasePackingList)
   test_10_PackingListIncreaseQuantity (testLegacySimulationPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacySimulationPackingList.TestPurchasePackingList)
   test_12_PackingListLineChangeResource (testLegacySimulationPackingList.TestPurchasePackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacySimulationPackingList.TestPurchasePackingList)
   test_17_PackingListOrderLineWithAccount (testLegacySimulationPackingList.TestPurchasePackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testLegacySimulationPackingList.TestPurchasePackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testLegacySimulationPackingList.TestPurchasePackingList)
   test_SplitAndDeferDoNothing (testLegacySimulationPackingList.TestPurchasePackingList)

  testLegacyTradeCondition                           (8 errors)
   test_view_discount_line (testLegacyTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_discount_model_line (testLegacyTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_tax_line (testLegacyTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_tax_model_line (testLegacyTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_discount_line (testLegacyTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_view_discount_model_line (testLegacyTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_view_tax_line (testLegacyTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_view_tax_model_line (testLegacyTradeCondition.TestApplyTradeConditionPurchaseOrder)

  testLegacyTradeModelLine                           (2 failures)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

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

  testOrder                                          (4 errors)
   test_15_deliveryBuilder (testOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
   test_17_orderExpand (testOrder.TestOrder)
   test_sale_order_view_parent_domain (testOrder.TestOrder)

  testPackingList                                    (51 errors)
   test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
   test_02_PackingListChangeDestination (testPackingList.TestPackingList)
   test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
   test_04_PackingListDeleteLine (testPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingList.TestPackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingList.TestPackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPackingList)
   test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
   test_08_AddContainers (testPackingList.TestPackingList)
   test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
   test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
   test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingList.TestPackingList)
   test_17_PackingListOrderLineWithAccount (testPackingList.TestPackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testPackingList.TestPackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPackingList)
   test_SplitAndDeferDoNothing (testPackingList.TestPackingList)
   test_01_PackingListDecreaseQuantity (testPackingList.TestSolvingPackingList)
   test_02_PackingListDecreaseQuantity (testPackingList.TestSolvingPackingList)
   test_09_AddContainersWithVariatedResources (testPackingList.TestSolvingPackingList)
   test_01_PackingListDecreaseQuantity (testPackingList.TestPurchasePackingList)
   test_02_PackingListChangeDestination (testPackingList.TestPurchasePackingList)
   test_03_PackingListChangeStartDate (testPackingList.TestPurchasePackingList)
   test_04_PackingListDeleteLine (testPackingList.TestPurchasePackingList)
   test_05_SimulationChangeQuantity (testPackingList.TestPurchasePackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPurchasePackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingList.TestPurchasePackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPurchasePackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingList.TestPurchasePackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPurchasePackingList)
   test_06_SimulationChangeStartDate (testPackingList.TestPurchasePackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
   test_08_AddContainers (testPackingList.TestPurchasePackingList)
   test_09_AddContainersWithVariatedResources (testPackingList.TestPurchasePackingList)
   test_10_PackingListIncreaseQuantity (testPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)
   test_12_PackingListLineChangeResource (testPackingList.TestPurchasePackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingList.TestPurchasePackingList)
   test_17_PackingListOrderLineWithAccount (testPackingList.TestPurchasePackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testPackingList.TestPurchasePackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPurchasePackingList)
   test_SplitAndDeferDoNothing (testPackingList.TestPurchasePackingList)

  testPackingListRoundingPrecision                   (24 errors)
   test_01_PackingListDecreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_02_PackingListChangeDestination (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_03_PackingListChangeStartDate (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_04_PackingListDeleteLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05_SimulationChangeQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05f_SimulationChangeAndPartialAcceptDecision (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_06_SimulationChangeStartDate (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_08_AddContainers (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_09_AddContainersWithVariatedResources (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_10_PackingListIncreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_12_PackingListLineChangeResource (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_17_PackingListOrderLineWithAccount (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_18_ChangeQuantityOnPackingListAndOrder (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_19_ChangeResourceOnPackingListAndOrder (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_SplitAndDeferDoNothing (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testPurchaseOrder                                  (4 errors)
   test_15_deliveryBuilder (testPurchaseOrder.TestPurchaseOrder)
   test_16_deliveryBuilderWithNoTic (testPurchaseOrder.TestPurchaseOrder)
   test_17_orderExpand (testPurchaseOrder.TestPurchaseOrder)
   test_sale_order_view_parent_domain (testPurchaseOrder.TestPurchaseOrder)

  testQueryModule                                    (2 errors)
   test_jump_query_action_visible (testQueryModule.TestQueryModule)
   test_post_query_action_visible (testQueryModule.TestQueryModule)

  testSQLCachedWorklist                              (2 errors, 2 skips)
   test_01_permission (testSQLCachedWorklist.TestSQLCachedWorklist)
   test_03_worklist_guard (testSQLCachedWorklist.TestSQLCachedWorklist)

  testScribusUtils                                   (1 errors)
   test_03_ModuleListBox (testScribusUtils.TestScribusUtils), Check the module listBox could be rendered without errors

  testStandardConfigurationWorkflow                  (6 errors)
   test_consulting_workflow (testStandardConfigurationWorkflow.TestConsultingConfiguratorWorkflow), Test the consulting workflow configuration
   test_after_configuration_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the after configuration script
   test_security_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the after configuration script
   test_standard_workflow_brazil (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the standard workflow with brazilian configuration
   test_standard_workflow_brazil_with_previous (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), This time we must simulate the previous buttom
   test_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the standard workflow with french configuration

  testTemplateTool                                   (1 errors)
   testUpdateBT5FromRepository (testTemplateTool.TestTemplateTool), Test the list of bt5 returned for upgrade

  testTradeCondition                                 (8 errors)
   test_view_discount_line (testTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_discount_model_line (testTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_tax_line (testTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_tax_model_line (testTradeCondition.TestApplyTradeConditionSaleOrder)
   test_view_discount_line (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_view_discount_model_line (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_view_tax_line (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_view_tax_model_line (testTradeCondition.TestApplyTradeConditionPurchaseOrder)

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testTradeReports                                   (1 errors)
   test_Folder_generateWorkflowReport (testTradeReports.TestTradeReports)

  testUNG                                            (1 failures)
   testERP5Site_checkIfUserExistUsingHttpRequest (testUNG.TestUNG), Test script ERP5Site_checkIfUserExist to simulate the browser request

  testUNGSecurity                                    (1 failures)
   testBase_getPreferencePathList (testUNGSecurity.TestUNGSecurity), Test if with normal user the paths of preference objects are returned correctly

  testWebCrawler                                     (2 errors)
   test_02_crawlWebSite (testWebCrawler.TestWebCrawler), Call portal_contribution to crawl website hosted by itself.
   test_02_crawlWebSite (testWebCrawler.TestWebCrawler), Call portal_contribution to crawl website hosted by itself.

  testWorklist                                       (4 errors)
   test_01_permission (testWorklist.TestWorklist)
   test_02_related_key (testWorklist.TestWorklist)
   test_03_worklist_guard (testWorklist.TestWorklist)
   test_04_dynamic_variables (testWorklist.TestWorklist)

  testXHTML                                          (1 failures, 530 errors)
   test_erp5_accounting_Account_Account_view (testXHTML.TestXHTML)
   test_erp5_accounting_Account_Account_viewAccountingTransactionList (testXHTML.TestXHTML)
   test_erp5_accounting_Account_Module_AccountModule_viewAccountList (testXHTML.TestXHTML)
   test_erp5_accounting_Accounting_Transaction_AccountingTransaction_view (testXHTML.TestXHTML)
   test_erp5_accounting_Accounting_Transaction_AccountingTransaction_viewDetails (testXHTML.TestXHTML)
   test_erp5_accounting_Accounting_Transaction_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_accounting_Accounting_Transaction_Module_AccountingTransactionModule_viewAccountingTransactionList (testXHTML.TestXHTML)
   test_erp5_accounting_Accounting_Transaction_SaleInvoiceTransaction_viewProfile (testXHTML.TestXHTML)
   test_erp5_accounting_Balance_Transaction_AccountingTransaction_viewDestinationAsset (testXHTML.TestXHTML)
   test_erp5_accounting_Balance_Transaction_BalanceTransaction_view (testXHTML.TestXHTML)
   test_erp5_accounting_Balance_Transaction_Line_AccountingTransactionLine_viewDestination (testXHTML.TestXHTML)
   test_erp5_accounting_Payment_Transaction_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_accounting_Payment_Transaction_PaymentTransaction_viewDetails (testXHTML.TestXHTML)
   test_erp5_accounting_Purchase_Invoice_Transaction_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_accounting_Purchase_Invoice_Transaction_PurchaseInvoiceTransaction_viewDetails (testXHTML.TestXHTML)
   test_erp5_accounting_Purchase_Invoice_Transaction_PurchaseInvoiceTransaction_viewProfile (testXHTML.TestXHTML)
   test_erp5_accounting_Sale_Invoice_Transaction_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_accounting_Sale_Invoice_Transaction_Line_AccountingTransactionLine_view (testXHTML.TestXHTML)
   test_erp5_accounting_Sale_Invoice_Transaction_SaleInvoiceTransaction_viewAccounting (testXHTML.TestXHTML)
   test_erp5_accounting_Sale_Invoice_Transaction_SaleInvoiceTransaction_viewDetails (testXHTML.TestXHTML)
   test_erp5_accounting_Sale_Invoice_Transaction_SaleInvoiceTransaction_viewProfile (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Invoice_Line_DeliveryLine_viewAggregatedAmountList (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Purchase_Invoice_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Purchase_Invoice_Module_PurchaseInvoiceModule_viewPurchaseInvoiceList (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Purchase_Invoice_PurchaseInvoice_viewInvoice (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Purchase_Invoice_PurchaseTradeCondition_viewProfile (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Purchase_Invoice_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Sale_Invoice_Module_SaleInvoiceModule_viewSaleInvoiceList (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Sale_Invoice_SaleInvoice_viewInvoice (testXHTML.TestXHTML)
   test_erp5_advanced_invoicing_Sale_Invoice_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Assortment_ApparelAssortment_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Assortment_Colour_Variation_ApparelModelColourVariation_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Assortment_Colour_Variation_Image_viewLarge (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Assortment_Module_ApparelAssortmentModule_viewApparelAssortmentList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Bath_ApparelBath_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Bath_Module_ApparelBathModule_viewApparelBathList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Cloth_ApparelCloth_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Cloth_ApparelCloth_viewMeasure (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Cloth_ApparelShape_viewIndustrialDescription (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Cloth_Module_ApparelClothModule_viewApparelClothList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Colour_Range_ApparelColourRange_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Colour_Range_Module_ApparelColourRangeModule_viewApparelColourRangeList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Colour_Range_Variation_ApparelColourRangeVariation_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Colour_Range_Variation_Line_ApparelColourRangeVariationLine_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_ApparelComponent_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_ApparelFabric_viewComposition (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Module_ApparelComponentModule_viewApparelComponentList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Resource_viewDefaultPurchaseSupplyLine (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Resource_viewDefaultSaleSupplyLine (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Resource_viewInstructions (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Resource_viewMeasure (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Variation_ApparelComponentVariation_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Component_Variation_Image_viewLarge (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Consumption_ApparelConsumption_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Consumption_Consumption_viewQuantity (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Consumption_Module_ApparelConsumptionModule_viewApparelConsumptionList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_ApparelFabric_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_ApparelFabric_viewComposition (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Colour_Variation_ApparelFabricColourVariation_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Colour_Variation_Image_viewLarge (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Item_ApparelFabricItem_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Item_Module_ApparelFabricItemModule_viewApparelFabricItemList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Module_ApparelFabricModule_viewApparelFabricList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Resource_viewDefaultPurchaseSupplyLine (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Resource_viewDefaultSaleSupplyLine (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Resource_viewInstructions (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Fabric_Resource_viewMeasure (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Measurement_ApparelMeasurement_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Measurement_ApparelMeasurement_viewCustomerMeasure (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Measurement_Image_viewLarge (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Measurement_Module_ApparelMeasurementModule_viewApparelMeasurementList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_ApparelFabric_viewComposition (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_ApparelModel_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_ApparelModel_viewApparelModelMorphologyVariationList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_ApparelModel_viewIndustrialDescription (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Colour_Variation_ApparelModelColourVariation_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Colour_Variation_Image_viewLarge (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Module_ApparelModelModule_viewApparelModelList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Morphology_Variation_ApparelModelMorphologyVariation_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Resource_viewDefaultPurchaseSupplyLine (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Resource_viewDefaultSaleSupplyLine (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Model_Resource_viewInventory (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Shape_ApparelShape_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Shape_ApparelShape_viewIndustrialDescription (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Shape_Module_ApparelShapeModule_viewApparelShapeList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Size_ApparelSize_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Size_ApparelSize_viewCustomerSize (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Size_Module_ApparelSizeModule_viewApparelSizeList (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Technical_Drawing_ApparelTechnicalDrawing_view (testXHTML.TestXHTML)
   test_erp5_apparel_Apparel_Technical_Drawing_Image_viewLarge (testXHTML.TestXHTML)
   test_erp5_base_Address_GeographicAddress_view (testXHTML.TestXHTML)
   test_erp5_base_Agent_Agent_view (testXHTML.TestXHTML)
   test_erp5_base_Agent_Agent_viewFullSizedSignature (testXHTML.TestXHTML)
   test_erp5_base_Agent_Privilege_AgentPrivilege_view (testXHTML.TestXHTML)
   test_erp5_base_Assignment_Assignment_view (testXHTML.TestXHTML)
   test_erp5_base_Bank_Account_BankAccount_view (testXHTML.TestXHTML)
   test_erp5_base_Career_Career_view (testXHTML.TestXHTML)
   test_erp5_base_Chat_Address_Url_view (testXHTML.TestXHTML)
   test_erp5_base_Credit_Card_CreditCard_view (testXHTML.TestXHTML)
   test_erp5_base_Currency_Currency_view (testXHTML.TestXHTML)
   test_erp5_base_Currency_Exchange_Line_CurrencyExchangeLine_view (testXHTML.TestXHTML)
   test_erp5_base_Currency_Module_CurrencyModule_viewCurrencyList (testXHTML.TestXHTML)
   test_erp5_base_Email_Email_view (testXHTML.TestXHTML)
   test_erp5_base_Embedded_File_EmbeddedFile_view (testXHTML.TestXHTML)
   test_erp5_base_Fax_Telephone_view (testXHTML.TestXHTML)
   test_erp5_base_Image_Image_view (testXHTML.TestXHTML)
   test_erp5_base_Link_Url_view (testXHTML.TestXHTML)
   test_erp5_base_Notification_Message_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_base_Notification_Message_Module_NotificationMessageModule_viewNotificationMessageList (testXHTML.TestXHTML)
   test_erp5_base_Notification_Message_NotificationMessage_view (testXHTML.TestXHTML)
   test_erp5_base_Notification_Message_NotificationMessage_viewContentList (testXHTML.TestXHTML)
   test_erp5_base_Notification_Message_NotificationMessage_viewEditor (testXHTML.TestXHTML)
   test_erp5_base_Organisation_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_base_Organisation_Module_OrganisationModule_viewOrganisationList (testXHTML.TestXHTML)
   test_erp5_base_Organisation_Organisation_view (testXHTML.TestXHTML)
   test_erp5_base_Organisation_Organisation_viewDetails (testXHTML.TestXHTML)
   test_erp5_base_Organisation_Organisation_viewFinancialInformationList (testXHTML.TestXHTML)
   test_erp5_base_Person_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_base_Person_Module_PersonModule_viewPersonList (testXHTML.TestXHTML)
   test_erp5_base_Person_Person_view (testXHTML.TestXHTML)
   test_erp5_base_Person_Person_viewAssignment (testXHTML.TestXHTML)
   test_erp5_base_Person_Person_viewDetails (testXHTML.TestXHTML)
   test_erp5_base_Person_Person_viewFinancialInformationList (testXHTML.TestXHTML)
   test_erp5_base_Query_Module_QueryModule_viewQueryList (testXHTML.TestXHTML)
   test_erp5_base_Query_Query_view (testXHTML.TestXHTML)
   test_erp5_base_Role_Definition_RoleDefinition_view (testXHTML.TestXHTML)
   test_erp5_base_Telephone_Telephone_view (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Budget_view (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Cell_BudgetCell_view (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Line_BudgetLine_view (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Line_BudgetLine_viewAvailableBudget (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Line_BudgetLine_viewConsumedBudget (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Line_BudgetLine_viewCurrentBudget (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Line_BudgetLine_viewEngagedBudget (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Model_BudgetModel_view (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Model_Module_BudgetModelModule_viewBudgetModelList (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Module_BudgetModule_viewBudgetList (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Transaction_BudgetTransaction_view (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Transaction_Module_BudgetTransactionModule_viewBudgetTransactionList (testXHTML.TestXHTML)
   test_erp5_budget_Budget_Transfer_Line_BudgetTransferLine_view (testXHTML.TestXHTML)
   test_erp5_budget_Category_Budget_Variation_CategoryBudgetVariation_view (testXHTML.TestXHTML)
   test_erp5_budget_Node_Budget_Variation_NodeBudgetVariation_view (testXHTML.TestXHTML)
   test_erp5_calendar_Calendar_Exception_CalendarException_view (testXHTML.TestXHTML)
   test_erp5_calendar_Group_Calendar_GroupCalendar_view (testXHTML.TestXHTML)
   test_erp5_calendar_Group_Calendar_GroupCalendar_viewPersonList (testXHTML.TestXHTML)
   test_erp5_calendar_Group_Calendar_Module_GroupCalendarModule_viewGroupCalendarList (testXHTML.TestXHTML)
   test_erp5_calendar_Group_Presence_Period_CalendarPeriodicity_view (testXHTML.TestXHTML)
   test_erp5_calendar_Group_Presence_Period_PresencePeriod_view (testXHTML.TestXHTML)
   test_erp5_calendar_Leave_Request_LeaveRequest_view (testXHTML.TestXHTML)
   test_erp5_calendar_Leave_Request_Module_LeaveRequestModule_viewLeaveRequestList (testXHTML.TestXHTML)
   test_erp5_calendar_Leave_Request_Period_CalendarPeriodicity_view (testXHTML.TestXHTML)
   test_erp5_calendar_Leave_Request_Period_LeavePeriod_view (testXHTML.TestXHTML)
   test_erp5_calendar_Presence_Request_Module_PresenceRequestModule_viewPresenceRequestList (testXHTML.TestXHTML)
   test_erp5_calendar_Presence_Request_Period_CalendarPeriodicity_view (testXHTML.TestXHTML)
   test_erp5_calendar_Presence_Request_Period_PresencePeriod_view (testXHTML.TestXHTML)
   test_erp5_calendar_Presence_Request_PresenceRequest_view (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_DocumentAnalysis_viewDocuments (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_DocumentAnalysis_viewLexicons (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Document_Decision_Item_DocumentAnalysisDocumentDecisionItem_view (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Document_DocumentAnalysisDocument_viewDecisionItems (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Document_DocumentAnalysisDocument_viewItems (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Document_Item_DocumentAnalysisDocumentItem_view (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Lexicon_DocumentAnalysisLexicon_view (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Lexicon_Item_DocumentAnalysisLexiconItem_view (testXHTML.TestXHTML)
   test_erp5_consulting_Document_Analysis_Module_DocumentAnalysisModule_viewDocumentAnalysisList (testXHTML.TestXHTML)
   test_erp5_consulting_Image_Image_viewFullSizedImage (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Case_Actor_TestCaseActor_view (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Case_Module_TestCaseModule_viewTestCaseList (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Case_Step_TestCaseStep_view (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Case_TestCase_viewTestCaseActorList (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Case_TestCase_viewTestCaseStepList (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Report_Actor_TestReportActor_view (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Report_Module_TestReportModule_viewTestReportList (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Report_Step_TestReportStep_view (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Report_TestReport_viewTestReportActorList (testXHTML.TestXHTML)
   test_erp5_consulting_Test_Report_TestReport_viewTestReportStepList (testXHTML.TestXHTML)
   test_erp5_consulting_Use_Case_Actor_UseCaseActor_view (testXHTML.TestXHTML)
   test_erp5_consulting_Use_Case_Module_UseCaseModule_viewUseCaseList (testXHTML.TestXHTML)
   test_erp5_consulting_Use_Case_Scenario_Step_UseCaseScenarioStep_view (testXHTML.TestXHTML)
   test_erp5_consulting_Use_Case_Scenario_UseCaseScenario_view (testXHTML.TestXHTML)
   test_erp5_consulting_Use_Case_UseCase_viewUseCaseActorList (testXHTML.TestXHTML)
   test_erp5_consulting_Use_Case_UseCase_viewUseCaseScenarioList (testXHTML.TestXHTML)
   test_erp5_core_Document_Document_view (testXHTML.TestXHTML)
   test_erp5_core_Predicate_Predicate_view (testXHTML.TestXHTML)
   test_erp5_crm_Acknowledgement_Acknowledgement_view (testXHTML.TestXHTML)
   test_erp5_crm_Campaign_Module_Folder_viewTicketList (testXHTML.TestXHTML)
   test_erp5_crm_Campaign_Ticket_view (testXHTML.TestXHTML)
   test_erp5_crm_Event_Module_EventModule_viewEventList (testXHTML.TestXHTML)
   test_erp5_crm_Fax_Message_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Fax_Message_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Fax_Message_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Letter_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Letter_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Letter_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Mail_Message_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Mail_Message_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Mail_Message_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Meeting_Module_MeetingModule_viewMeetingList (testXHTML.TestXHTML)
   test_erp5_crm_Meeting_Ticket_view (testXHTML.TestXHTML)
   test_erp5_crm_Note_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Note_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Note_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Phone_Call_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Phone_Call_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Phone_Call_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Sale_Opportunity_Ticket_view (testXHTML.TestXHTML)
   test_erp5_crm_Short_Message_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Short_Message_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Short_Message_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Site_Message_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Site_Message_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Site_Message_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Support_Request_Module_Folder_viewTicketList (testXHTML.TestXHTML)
   test_erp5_crm_Support_Request_Ticket_view (testXHTML.TestXHTML)
   test_erp5_crm_Visit_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Visit_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Visit_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_crm_Web_Message_Event_view (testXHTML.TestXHTML)
   test_erp5_crm_Web_Message_Event_viewPreview (testXHTML.TestXHTML)
   test_erp5_crm_Web_Message_Event_viewRelatedEventList (testXHTML.TestXHTML)
   test_erp5_dms_Document_Ingestion_Message_DocumentIngestionMessage_view (testXHTML.TestXHTML)
   test_erp5_dms_Document_Ingestion_Module_DocumentIngestionModule_viewDocumentIngestionMessageList (testXHTML.TestXHTML)
   test_erp5_dms_Document_Module_DocumentModule_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_dms_Drawing_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_dms_Drawing_Document_viewRelated (testXHTML.TestXHTML)
   test_erp5_dms_Drawing_OOoDocument_view (testXHTML.TestXHTML)
   test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_erp5_dms_External_Source_Module_ExternalSourceModule_viewExternalSourceList (testXHTML.TestXHTML)
   test_erp5_dms_Image_Module_ImageModule_viewImageList (testXHTML.TestXHTML)
   test_erp5_dms_PDF_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_dms_PDF_Document_viewRelated (testXHTML.TestXHTML)
   test_erp5_dms_PDF_File_view (testXHTML.TestXHTML)
   test_erp5_dms_PDF_PDF_viewHTMLPreviewAsThumbnailList (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_Document_viewRelated (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_OOoDocument_view (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_erp5_dms_RSS_Feed_ExternalSource_viewContentList (testXHTML.TestXHTML)
   test_erp5_dms_Spreadsheet_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_dms_Spreadsheet_Document_viewHTMLPreview (testXHTML.TestXHTML)
   test_erp5_dms_Spreadsheet_Document_viewRelated (testXHTML.TestXHTML)
   test_erp5_dms_Spreadsheet_OOoDocument_view (testXHTML.TestXHTML)
   test_erp5_dms_Text_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_dms_Text_Document_viewHTMLPreview (testXHTML.TestXHTML)
   test_erp5_dms_Text_Document_viewRelated (testXHTML.TestXHTML)
   test_erp5_dms_Text_OOoDocument_view (testXHTML.TestXHTML)
   test_erp5_dms_URL_Crawler_ExternalSource_view (testXHTML.TestXHTML)
   test_erp5_dms_URL_Crawler_ExternalSource_viewContentList (testXHTML.TestXHTML)
   test_erp5_forge_Bug_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_forge_Bug_Bug_view (testXHTML.TestXHTML)
   test_erp5_forge_Bug_Line_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_forge_Bug_Line_BugLine_view (testXHTML.TestXHTML)
   test_erp5_forge_Bug_Module_BugModule_viewBugList (testXHTML.TestXHTML)
   test_erp5_forge_Glossary_Module_GlossaryModule_viewGlossaryTermList (testXHTML.TestXHTML)
   test_erp5_forge_Glossary_Term_GlossaryTerm_view (testXHTML.TestXHTML)
   test_erp5_immobilisation_Immobilisation_Immobilisation_view (testXHTML.TestXHTML)
   test_erp5_immobilisation_Immobilisation_Line_ImmobilisationLine_view (testXHTML.TestXHTML)
   test_erp5_immobilisation_Immobilisation_Module_ImmobilisationModule_viewImmobilisationList (testXHTML.TestXHTML)
   test_erp5_invoicing_Invoice_Line_InvoiceLine_view (testXHTML.TestXHTML)
   test_erp5_item_Item_Item_view (testXHTML.TestXHTML)
   test_erp5_item_Item_Item_viewTrackingList (testXHTML.TestXHTML)
   test_erp5_item_Item_Module_ItemModule_viewItemList (testXHTML.TestXHTML)
   test_erp5_item_Service_Report_Item_viewTrackingList (testXHTML.TestXHTML)
   test_erp5_item_Service_Report_Module_ServiceReportModule_viewServiceReportList (testXHTML.TestXHTML)
   test_erp5_item_Service_Report_ServiceReport_view (testXHTML.TestXHTML)
   test_erp5_knowledge_pad_Knowledge_Box_KnowledgeBox_view (testXHTML.TestXHTML)
   test_erp5_knowledge_pad_Knowledge_Pad_KnowledgePad_view (testXHTML.TestXHTML)
   test_erp5_knowledge_pad_Knowledge_Pad_Module_KnowledgePadModule_viewKnowledgePadList (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_Line_ProductionOrderLine_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_Module_ProductionOrderModule_viewProductionOrderList (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_ProductionDelivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_ProductionOrder_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_ProductionOrder_viewMaterialConsumption (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_ProductionOrder_viewOperationConsumption (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_PurchaseTradeCondition_viewProfile (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Order_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Packing_List_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Packing_List_Line_ProductionPackingListLine_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Packing_List_Module_ProductionPackingListModule_viewProductionPackingListList (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Packing_List_ProductionDelivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Packing_List_ProductionPackingList_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Report_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Report_Line_ProductionReportLine_view (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Report_Module_ProductionReportModule_viewProductionReportList (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Report_ProductionDelivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_mrp_Production_Report_ProductionReport_view (testXHTML.TestXHTML)
   test_erp5_mrp_Supply_Chain_Module_SupplyChainModule_viewSupplyChainList (testXHTML.TestXHTML)
   test_erp5_mrp_Supply_Chain_SupplyChain_view (testXHTML.TestXHTML)
   test_erp5_mrp_Supply_Chain_SupplyChain_viewSupplyNodeList (testXHTML.TestXHTML)
   test_erp5_mrp_Supply_Link_SupplyLink_view (testXHTML.TestXHTML)
   test_erp5_mrp_Supply_Node_SupplyNode_view (testXHTML.TestXHTML)
   test_erp5_payroll_Annotation_Line_AnnotationLine_view (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_Line_PaySheetModelLine_view (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_Line_Predicate_view (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_Module_PaySheetModelModule_viewPaySheetModelList (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_PaySheetModel_view (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_PaySheetModel_viewRatioSettingsList (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_PaySheetModel_viewSliceSettings (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_PaySheetTransaction_viewAnnotationLineList (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_PurchaseTradeCondition_viewProfile (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_Ratio_Line_RatioSettings_view (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_Slice_PaySheetModelSlice_view (testXHTML.TestXHTML)
   test_erp5_payroll_Pay_Sheet_Model_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Component_view (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Individual_Variation_IndividualVariation_view (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Module_ComponentModule_viewComponentList (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Resource_viewDefaultInternalSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Resource_viewDefaultPurchaseSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Resource_viewDefaultSaleSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Resource_viewInventory (testXHTML.TestXHTML)
   test_erp5_pdm_Component_Resource_viewMeasure (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_InternalSupply_view (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_Line_InternalSupplyLine_view (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_Line_InternalSupplyLine_viewAdditionalPrice (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_Line_InternalSupplyLine_viewBasePrice (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_Line_InternalSupplyLine_viewDiscountRatio (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_Line_InternalSupplyLine_viewSurchargeRatio (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_Module_InternalSupplyModule_viewInternalSupplyList (testXHTML.TestXHTML)
   test_erp5_pdm_Internal_Supply_SaleSupply_viewProfile (testXHTML.TestXHTML)
   test_erp5_pdm_Measure_Measure_view (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Individual_Variation_IndividualVariation_view (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Module_ProductModule_viewProductList (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Product_view (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Resource_viewDefaultInternalSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Resource_viewDefaultPurchaseSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Resource_viewDefaultSaleSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Resource_viewInventory (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Resource_viewMeasure (testXHTML.TestXHTML)
   test_erp5_pdm_Product_Resource_viewQuantityUnitConversionGroup (testXHTML.TestXHTML)
   test_erp5_pdm_Purchase_Supply_Line_PurchaseSupplyLine_viewAdditionalPrice (testXHTML.TestXHTML)
   test_erp5_pdm_Purchase_Supply_Module_PurchaseSupplyModule_viewPurchaseSupplyList (testXHTML.TestXHTML)
   test_erp5_pdm_Purchase_Supply_PurchaseSupply_view (testXHTML.TestXHTML)
   test_erp5_pdm_Purchase_Supply_PurchaseSupply_viewProfile (testXHTML.TestXHTML)
   test_erp5_pdm_Quantity_Unit_Conversion_Definition_QuantityUnitConversionDefinition_view (testXHTML.TestXHTML)
   test_erp5_pdm_Quantity_Unit_Conversion_Group_QuantityUnitConversionGroup_view (testXHTML.TestXHTML)
   test_erp5_pdm_Quantity_Unit_Conversion_Module_QuantityUnitConversionModule_viewQuantityUnitConversionGroupList (testXHTML.TestXHTML)
   test_erp5_pdm_Sale_Supply_Line_SaleSupplyLine_viewAdditionalPrice (testXHTML.TestXHTML)
   test_erp5_pdm_Sale_Supply_Module_SaleSupplyModule_viewSaleSupplyList (testXHTML.TestXHTML)
   test_erp5_pdm_Sale_Supply_SaleSupply_view (testXHTML.TestXHTML)
   test_erp5_pdm_Sale_Supply_SaleSupply_viewProfile (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Individual_Variation_IndividualVariation_view (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Module_ServiceModule_viewServiceList (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Resource_viewDefaultInternalSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Resource_viewDefaultPurchaseSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Resource_viewDefaultSaleSupplyLine (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Resource_viewMeasure (testXHTML.TestXHTML)
   test_erp5_pdm_Service_Service_view (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_view (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewAdditionalPrice (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewBasePrice (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewDiscountRatio (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewExclusiveDiscountRatio (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewNonDiscountableAdditionalPrice (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewSurchargeRatio (testXHTML.TestXHTML)
   test_erp5_pdm_Supply_Line_SupplyLine_viewVariableAdditionalPrice (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Module_TransformationModule_viewTransformationList (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Operation_TransformationOperation_view (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Optional_Resource_TransformationOptionalResource_view (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Transformation_view (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Transformation_viewTransformationOperationList (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Transformation_viewTransformationOptionalResourceList (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Transformation_viewTransformationTransformedResourceList (testXHTML.TestXHTML)
   test_erp5_pdm_Transformation_Transformed_Resource_TransformationTransformedResource_view (testXHTML.TestXHTML)
   test_erp5_project_Project_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_project_Project_Cell_BudgetCell_view (testXHTML.TestXHTML)
   test_erp5_project_Project_Folder_viewContentList (testXHTML.TestXHTML)
   test_erp5_project_Project_Line_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_project_Project_Line_Folder_viewContentList (testXHTML.TestXHTML)
   test_erp5_project_Project_Line_ProjectLine_view (testXHTML.TestXHTML)
   test_erp5_project_Project_Line_ProjectLine_viewConstraint (testXHTML.TestXHTML)
   test_erp5_project_Project_Milestone_Base_viewDocumentList (testXHTML.TestXHTML)
   test_erp5_project_Project_Milestone_ProjectLine_view (testXHTML.TestXHTML)
   test_erp5_project_Project_Milestone_ProjectLine_viewConstraint (testXHTML.TestXHTML)
   test_erp5_project_Project_Project_view (testXHTML.TestXHTML)
   test_erp5_project_Project_Project_viewMilestone (testXHTML.TestXHTML)
   test_erp5_project_Requirement_Document_RequirementDocument_view (testXHTML.TestXHTML)
   test_erp5_project_Requirement_Module_RequirementModule_viewRequirementList (testXHTML.TestXHTML)
   test_erp5_project_Requirement_Requirement_view (testXHTML.TestXHTML)
   test_erp5_project_Requirement_Requirement_viewProjectList (testXHTML.TestXHTML)
   test_erp5_project_Task_Line_TaskLine_view (testXHTML.TestXHTML)
   test_erp5_project_Task_Module_TaskModule_viewTaskList (testXHTML.TestXHTML)
   test_erp5_project_Task_Report_Line_TaskLine_view (testXHTML.TestXHTML)
   test_erp5_project_Task_Report_Module_TaskReportModule_viewTaskReportList (testXHTML.TestXHTML)
   test_erp5_project_Task_Report_TaskReport_view (testXHTML.TestXHTML)
   test_erp5_project_Task_Report_Task_viewProfile (testXHTML.TestXHTML)
   test_erp5_project_Task_Report_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_project_Task_Task_view (testXHTML.TestXHTML)
   test_erp5_project_Task_Task_viewConstraint (testXHTML.TestXHTML)
   test_erp5_project_Task_Task_viewProfile (testXHTML.TestXHTML)
   test_erp5_project_Task_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Business_Link_BusinessLink_view (testXHTML.TestXHTML)
   test_erp5_trade_Business_Link_Predicate_view (testXHTML.TestXHTML)
   test_erp5_trade_Business_Process_BusinessProcess_view (testXHTML.TestXHTML)
   test_erp5_trade_Business_Process_BusinessProcess_viewTradeModelPath (testXHTML.TestXHTML)
   test_erp5_trade_Business_Process_Module_BusinessProcessModule_viewBusinessProcessList (testXHTML.TestXHTML)
   test_erp5_trade_Container_Container_view (testXHTML.TestXHTML)
   test_erp5_trade_Container_Line_ContainerLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Container_Line_ContainerLine_viewQuantity (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_InternalOrder_view (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_InternalOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_Line_InternalOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_Line_OrderLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Order_Module_InternalOrderModule_viewInternalOrderList (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_InternalPackingList_view (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_InternalPackingList_viewDetails (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_Line_PackingListLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_Line_SaleOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_Module_InternalPackingListModule_viewInternalPackingListList (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_SaleOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Internal_Packing_List_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Inventory_Cell_InventoryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Inventory_Inventory_view (testXHTML.TestXHTML)
   test_erp5_trade_Inventory_Line_InventoryLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Inventory_Module_InventoryModule_viewInventoryList (testXHTML.TestXHTML)
   test_erp5_trade_Payment_Condition_PaymentCondition_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Delivery_viewAggregatedAmountList (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Line_DeliveryLine_viewAggregatedAmountList (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Line_OrderLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Line_PurchaseOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_Module_PurchaseOrderModule_viewPurchaseOrderList (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_PurchaseOrder_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_PurchaseOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Order_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_Line_PackingListLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_Line_PurchaseOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_Module_PurchasePackingListModule_viewPurchasePackingListList (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_PurchaseOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_PurchasePackingList_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_PurchasePackingList_viewDetails (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Packing_List_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Supply_Line_PurchaseSupplyLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Supply_Line_PurchaseSupplyLine_viewBasePrice (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Supply_Line_PurchaseSupplyLine_viewDiscountRatio (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Supply_Line_PurchaseSupplyLine_viewSurchargeRatio (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Trade_Condition_Module_PurchaseTradeConditionModule_viewPurchaseTradeConditionList (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Trade_Condition_PurchaseTradeCondition_view (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Trade_Condition_PurchaseTradeCondition_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Trade_Condition_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Purchase_Trade_Condition_TradeCondition_viewTradeModelLineList (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_Line_PackingListLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_Line_SaleOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_Module_ReturnedPurchasePackingListModule_viewReturnedPurchasePackingListList (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_PurchaseOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_ReturnedPurchasePackingList_view (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_ReturnedPurchasePackingList_viewDetails (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Purchase_Packing_List_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_Line_PackingListLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_Line_SaleOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_Module_ReturnedSalePackingListModule_viewReturnedSalePackingListList (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_PurchaseOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_ReturnedSalePackingList_view (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_ReturnedSalePackingList_viewDetails (testXHTML.TestXHTML)
   test_erp5_trade_Returned_Sale_Packing_List_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Delivery_viewAggregatedAmountList (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Line_DeliveryLine_viewAggregatedAmountList (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Line_OrderLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Line_SaleOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_Module_SaleOrderModule_viewSaleOrderList (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_SaleOrder_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_SaleOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Order_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_Cell_DeliveryCell_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_Delivery_viewInventory (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_Line_PackingListLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_Line_SaleOrderLine_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_Module_SalePackingListModule_viewSalePackingListList (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_SaleOrder_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_SalePackingList_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_SalePackingList_viewContainerList (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_SalePackingList_viewDetails (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Packing_List_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Supply_Line_SaleSupplyLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Supply_Line_SaleSupplyLine_viewBasePrice (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Supply_Line_SaleSupplyLine_viewDiscountRatio (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Supply_Line_SaleSupplyLine_viewSurchargeRatio (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Trade_Condition_Module_SaleTradeConditionModule_viewSaleTradeConditionList (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Trade_Condition_SaleTradeCondition_view (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Trade_Condition_SaleTradeCondition_viewProfile (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Trade_Condition_TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_erp5_trade_Sale_Trade_Condition_TradeCondition_viewTradeModelLineList (testXHTML.TestXHTML)
   test_erp5_trade_Trade_Model_Line_Predicate_view (testXHTML.TestXHTML)
   test_erp5_trade_Trade_Model_Line_TradeModelLine_view (testXHTML.TestXHTML)
   test_erp5_trade_Trade_Model_Path_Predicate_view (testXHTML.TestXHTML)
   test_erp5_trade_Trade_Model_Path_TradeModelPath_view (testXHTML.TestXHTML)
   test_erp5_trade_Trade_Model_Path_TradeModelPath_viewProfile (testXHTML.TestXHTML)
   test_erp5_ui_test_Bar_Bar_view (testXHTML.TestXHTML)
   test_erp5_ui_test_Bar_Bar_viewPerformance (testXHTML.TestXHTML)
   test_erp5_ui_test_Bar_Folder_viewContentList (testXHTML.TestXHTML)
   test_erp5_ui_test_Bar_Module_BarModule_viewBarList (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Bar_Module_FooBarModule_viewFooBarList (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Folder_viewContentList (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_view (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewDurationField (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewFormBox (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewListBox (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewListBoxInReportMode (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewMultipleListBox (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewProxyField (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Foo_viewRelationField (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Line_FooLine_view (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Module_Folder_viewContentList (testXHTML.TestXHTML)
   test_erp5_ui_test_Foo_Module_FooModule_viewFooList (testXHTML.TestXHTML)
   test_erp5_web_Web_Page_Base_viewLocalPermissionList (testXHTML.TestXHTML)
   test_erp5_web_Web_Page_Module_WebPageModule_viewWebPageList (testXHTML.TestXHTML)
   test_erp5_web_Web_Page_WebPage_view (testXHTML.TestXHTML)
   test_erp5_web_Web_Page_WebPage_viewContentList (testXHTML.TestXHTML)
   test_erp5_web_Web_Page_WebPage_viewEditor (testXHTML.TestXHTML)
   test_erp5_web_Web_Section_Predicate_view (testXHTML.TestXHTML)
   test_erp5_web_Web_Section_WebSection_view (testXHTML.TestXHTML)
   test_erp5_web_Web_Section_WebSection_viewContent (testXHTML.TestXHTML)
   test_erp5_web_Web_Site_Module_WebSiteModule_viewWebSiteList (testXHTML.TestXHTML)
   test_erp5_web_Web_Site_Predicate_view (testXHTML.TestXHTML)
   test_erp5_web_Web_Site_WebSection_viewContent (testXHTML.TestXHTML)
   test_erp5_web_Web_Site_WebSite_view (testXHTML.TestXHTML)
   test_moduleListMethod (testXHTML.TestXHTML), Make sure that module's list method works.
   test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (4 skips)

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

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

  testBusinessTemplate                               (2 skips)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 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'

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

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

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

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

  testOpenOrder                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (2 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
   test_04_dynamic_variables (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'

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (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: 96788 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110326/e8736d90/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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingPeriodOtherSections (testAccounting.TestAccountingWithSequences), Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingPeriodRefusesWrongDateTransactionValidation (testAccounting.TestAccountingWithSequences), Accounting Periods prevents transactions from being validated when there
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationAccounts (testAccounting.TestAccountingWithSequences), Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationBalanced (testAccounting.TestAccountingWithSequences), Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationCurrency (testAccounting.TestAccountingWithSequences), Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationDate (testAccounting.TestAccountingWithSequences), Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationPayment (testAccounting.TestAccountingWithSequences), Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationRemoveEmptyLines (testAccounting.TestAccountingWithSequences), Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AccountingTransactionValidationSection (testAccounting.TestAccountingWithSequences), Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_Acquisition (testAccounting.TestAccountingWithSequences), Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_MultiCurrencyInvoice (testAccounting.TestAccountingWithSequences), Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_createAccountingTransaction (testAccounting.TestAccountingWithSequences), Make sure acounting transactions created by createAccountingTransaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 832, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3333, in afterSetUp
    self.createAccounts()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3562, in createAccounts
    self.failUnless('Site Error' not in account.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 495, in test_01_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      DefineNewPackingListContainer
      Tic
      CheckNewPackingListIsPacked
      SetReadyPackingList
      SetReadyNewPackingList
      Tic
      StartPackingList
      StartNewPackingList
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForAdvancedTransactionBuilder
      StartTwoInvoices
      Tic
      CheckInvoicesAndTransactionsConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_02_InvoiceDeletePackingListLine (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 521, in test_02_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_03_InvoiceDecreaseQuantity (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 561, in test_03_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testInvoice.py", line 154, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_05_AcceptDecisionOnPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 663, in test_05_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_06_AcceptDecisionOnPackingListAndInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 749, in test_06_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      IncreaseInvoiceLineQuantity
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_07_SplitAndDeferInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 819, in test_07_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testInvoice.py", line 154, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      SwitchInvoices
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_08_AcceptDecisionOnInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 887, in test_08_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_10_ManuallyAddedMovements (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 941, in test_10_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      StartInvoice
      Tic
      AddInvoiceTransactionLines
      Tic
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_11_ManuallyAddedMovementsManyTransactions (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 975, in test_11_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      AddInvoiceLinesManyTransactions
      Tic
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_12_compareInvoiceAndPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 997, in test_12_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
      CheckPackingListInvoice
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 300, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 265, in test_CreatingAccountingTransactionThroughInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      StartPackingList
      Tic
      StartRelatedInvoice
      Tic
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 356, in test_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 300, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 265, in test_CreatingAccountingTransactionThroughInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      ReceivePackingList
      Tic
      StartRelatedInvoice
      Tic
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 356, in test_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
    > SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testOrder.py", line 930, in stepSetOrderProfile
    self.failUnless('Site Error' not in order.view())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2373, in view
    return self._renderDefaultView('view')
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Base.py", line 2368, in _renderDefaultView
    return method(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Form/Form.py", line 651, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context))"", line 1, in <expression>
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/ActionsTool.py", line 91, in listFilteredActionsFor
    actions.extend( provider.listActionInfos(object=object) )
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 542, in getSecurityUidListAndRoleColumnDict
    allowedRolesAndUsers, role_column_dict, local_role_column_dict = \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Catalog/CatalogTool.py", line 493, in getAllowedRolesAndUsers
    local_role_dict = dict(catalog.getSQLCatalogLocalRoleKeysList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ZSQLCatalog/SQLCatalog.py", line 638, in getSQLCatalogLocalRoleKeysList
    return role_key_dict.items()
NameError: global name 'role_key_dict' is not defined


ERROR: test_autoplanned (testAdvancedInvoicing.TestWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testAdvancedInvoicing.py", line 1220, in test_autoplanned
    action_ids = [action['id'] for action in
  File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line 86, in listActionInfos
    actions = self.listActions(object=object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 537, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 272, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Cache.py", line 171, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 482, in _getWorklistActionList
    getSecurityUidListAndRoleColumnDict=\
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/patches/WorkflowTool.py", line 204, in groupWorklistListByCondition
    uid_list, role_column_dict, local_role_column_dict = \


(truncated) ...


More information about the Erp5-report mailing list