[Erp5-report] ERP5-MASTER rNone : 3763 Tests, 37 Errors, 0 Failures, 154 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 1 19:43:14 CET 2013


Test Suite: ERP5-MASTER
Revision: slapos=4842-4d12f08f2bd76046f92198dae5604da79d07d5be,erp5=42194-b69d02b0a60f34a828872cab33635da6aeff9591
Result: FAIL

All tests: 3763
Failures: 0
Errors: 37
Skips: 154

 http://erp5.nexedi.com/test_result_module/20130301-20F24CE7/view


The following tests failed:

  testAdvancedInvoicing                              (15 errors, 1 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_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)

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

  testInvoice                                        (20 errors, 6 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_07_InvoiceAddPackingListLine (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)

The following tests were at least partly skipped:

  testAccountingReports                              (1 skips)
   test_Resource_zGetMovementHistoryList (testAccountingReports.TestAccountingReports) ... skipped 'TODO ERP5'

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (1 skips)

  testBPMCore                                        (1 skips)
   test_payBeforeDelivery (testBPMCore.TestBPMImplementation) ... skipped 'TODO ERP5'

  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                               (5 skips)
   test_BusinessTemplateWithZodbDocument (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentMigrated (testBusinessTemplate.TestConstraintTemplateItem), Checks that if Business Template defines Document and PropertySheet ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentNonExistingBefore (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'

  testCRM                                            (1 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDmsWithPreConversion                           (2 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'

  testERP5Commerce                                   (1 skips)
   test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testERP5Interfaces                                 (7 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (3 skips)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

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

  testFunctionalCore                                 (4 skips)
        So this test is skipped -->
        So this test is skipped -->

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventory                                      (1 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (6 skips)

  testItem                                           (13 skips)

  testKM                                             (3 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'

  testMaxmaDemoConfigurationWorkflow                 (1 skips)

  testOpenOrder                                      (3 skips)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder) ... skipped "can't run if machine timezone is UTC"

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProxyField                                     (1 skips)

  testResource                                       (1 skips)

  testReturnedSalePackingList                        (3 skips)

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

  testShaCache                                       (1 skips)

  testShaCacheExternal                               (1 skips)

  testShaDir                                         (1 skips)

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testTradeModelLine                                 (1 skips)

  testTradeModelLinePurchase                         (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 4097 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20130301/c6a2035a/attachment-0001.diff>
-------------- next part --------------

ERROR: test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 518, in test_01_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      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
      InvoiceBuilderAlarm
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForAdvancedTransactionBuilder
      StartTwoInvoices
      Tic
      CheckInvoicesAndTransactionsConsistency
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_02_InvoiceDeletePackingListLine (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 546, in test_02_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
    > SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 897, in stepSetContainerFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_03_InvoiceDecreaseQuantity (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 588, in test_03_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testInvoice.py", line 158, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_05_AcceptDecisionOnPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 694, in test_05_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      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
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_06_AcceptDecisionOnPackingListAndInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 782, in test_06_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      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
      InvoiceBuilderAlarm
      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 "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_07_SplitAndDeferInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 854, in test_07_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testInvoice.py", line 158, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      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 "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_08_AcceptDecisionOnInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 924, in test_08_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      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 "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_10_ManuallyAddedMovements (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 980, in test_10_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      StartInvoice
      Tic
      AddInvoiceTransactionLines
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_11_ManuallyAddedMovementsManyTransactions (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 1016, in test_11_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      AddInvoiceLinesManyTransactions
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_12_compareInvoiceAndPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 1040, in test_12_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
      CheckPackingListInvoice
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 1070, in test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckDivergedOnPackingList
      CheckDivergedQuantityOnPackingList
      AdoptPrevisionOnPackingList
      Tic
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 309, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 333, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      StartPackingList
      StopPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AdoptPrevisionOnInvoice
      Tic
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 272, in test_CreatingAccountingTransactionThroughInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      StartPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      StartRelatedInvoice
      Tic
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 366, in test_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 227, in test_01_IfNested
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      GetRelatedInvoiceFromPackingList
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 267, in test_02_AdoptingPrevision
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      GetRelatedInvoiceFromPackingList
      UpdatePackingList
      Tic
      AcceptDecisionPackingListQuantity
      Tic
      CheckInvoiceIsDivergent
      CheckInvoiceIsDiverged
      AdoptPrevisionInvoiceQuantity
      Tic
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart78/srv/testnode/e/soft/e64e4bb7676c315a2d763dc0043dd211/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_01_SimpleInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2604, in test_01_SimpleInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckInvoiceLineHasReferenceAndIntIndex
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2640, in test_02_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      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
      InvoiceBuilderAlarm
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForTransactionBuilder
      StartTwoInvoices
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckTwoInvoicesTransactionLines
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_03_InvoiceEditAndInvoiceRule (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2674, in test_03_InvoiceEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      EditInvoice
      Tic
      CheckInvoiceRuleNotAppliedOnInvoiceEdit
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_04_PackingListEditAndInvoiceRule (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2692, in test_04_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingList
      Tic
      CheckDeliveryRuleNotAppliedOnPackingListEdit
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_05_InvoiceEditPackingListLine (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2718, in test_05_InvoiceEditPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_06_InvoiceDeletePackingListLine (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2745, in test_06_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
    > SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      Tic
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 897, in stepSetContainerFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_07_InvoiceAddPackingListLine (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2775, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      AddPackingListLine
      Tic
      SetContainerFullQuantity
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_08_InvoiceDecreaseQuantity (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2816, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 158, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_10_AcceptDecisionOnPackingList (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2974, in test_10_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      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
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3095, in test_11_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      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
      InvoiceBuilderAlarm
      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 "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3211, in test_12_SplitPackingListAndAcceptInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 158, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      IncreaseInvoiceLineQuantity
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      SwitchPackingLists
      AddPackingListContainer
      SetContainerFullQuantity
      Tic
      CheckPackingListIsSolved
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      SetInvoiceLineQuantityToZero
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_13_SplitAndDeferInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3282, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 158, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      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 "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_14_AcceptDecisionOnInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3351, in test_14_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      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 "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_16_ManuallyAddedMovements (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3403, in test_16_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLines
      Tic
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_16a_ManuallyAddedMovementsManyTransactions (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3008, in test_16a_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLinesManyTransactions
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_17_ManuallyAddedWrongMovements (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3431, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      AddWrongInvoiceLines
      Tic
      StartInvoice
      CheckStartInvoiceFail
      CheckSimulationTrees
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_18_compareInvoiceAndPackingList (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3455, in test_18_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
      CheckPackingListInvoice
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_accept_quantity_divergence_on_invoice_with_started_packing_list (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 3469, in test_accept_quantity_divergence_on_invoice_with_started_packing_list
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2318, in test_accept_quantity_divergence_on_invoice_with_stopped_packing_list
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


ERROR: test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testInvoice.py", line 2375, in test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
    > SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5/tests/testPackingList.py", line 876, in stepSetContainerLineFullQuantity
    container_line.immediateReindexObject()
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/Base.py", line 2752, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 768, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 699, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Catalog/CatalogTool.py", line 782, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/ZSQLCatalog.py", line 829, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1448, in catalogObjectList
    idxs=idxs)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1693, in _catalogObjectList
    method(**kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1324, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart96/srv/testnode/e/soft/810f276aca3f56ada9be579f484cfe93/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in SQLCatalog_trimInventoryCacheOnCatalog
Unauthorized: You are not allowed to access 'SimulationTool_zTrimInventoryCacheFromDateOnCatalog' in this context


More information about the Erp5-report mailing list