An error occurred fetching the project authors.
  1. 21 May, 2013 2 commits
  2. 22 Apr, 2013 2 commits
    • Julien Muchembled's avatar
      CMFActivity: remove non-executable message state (-3) · e47f2923
      Julien Muchembled authored
      When an object is deleted, higher level code used to flush its messages (without
      invoking them). However, a concurrent and very long transaction may be about to
      activate such an object, without conflict. We already experienced false -3
      errors that could prevent other messages to be validated.
      
      Because there is no efficient and reliable way to flush absolutely all messages,
      messages on deleted objects are now ignored and deleted without any email
      notification. There's only a WARNING in logs. But for performance reasons,
      there's still a flush on object deletion.
      
      To simplify code, messages that went to -3 for other reasons, like a
      non-existing method, now go to -2. In fact, this was already the case for
      grouped messages.
      
      In case that a path is recycled, it may still be possible for a message to be
      executed on a wrong object (the new one), instead of being ignored (because the
      activated object was deleted). So in such scenario, developer should make sure
      not to delete an object that may be activated in a concurrent transaction.
      If the original object has an OID at the moment it is activated, an assertion
      will make sure the message is not executed on another object.
      e47f2923
    • Julien Muchembled's avatar
      testCMFActivity: clean up · fcce7b97
      Julien Muchembled authored
      fcce7b97
  3. 18 Apr, 2013 1 commit
  4. 21 Feb, 2013 1 commit
  5. 15 Feb, 2013 1 commit
    • Julien Muchembled's avatar
      Fix commit order of CMFActivity SQL connection on nodes with several zserver threads · 2c11b76a
      Julien Muchembled authored
      When a ZODB connection is closed, it usually returns to a ZODB pool and may be
      reused by another thread. If the SQL connection was open and is still in ZODB
      cache, the _v_database_connection attribute is still there:
      ActivityConnection.connect() is not called and a new instance of ZMySQLDA.db.DB
      is created for the new thread without initializing its sort key.
      2c11b76a
  6. 08 Jan, 2013 1 commit
  7. 26 Nov, 2012 1 commit
  8. 01 Oct, 2012 1 commit
    • Julien Muchembled's avatar
      CMFActivity: new 'merge_parent=<path>' SQLDict parameter · a7d796a5
      Julien Muchembled authored
      If specified, <path> must be the path of an ancestor and SQLDict will merge all
      similar messages under this path and process only the root message.
      
      This will be used in ERP5 simulation to drop 'expand' activities that are
      children of other 'expand' activities.
      
      Because it can be used with grouped messages, it may be interesting to used it
      for recursiveImmediateReindexObject.
      a7d796a5
  9. 15 May, 2012 1 commit
  10. 14 May, 2012 1 commit
  11. 11 May, 2012 1 commit
  12. 27 Apr, 2012 1 commit
  13. 28 Dec, 2011 1 commit
  14. 23 Dec, 2011 1 commit
  15. 06 Dec, 2011 1 commit
  16. 19 Oct, 2011 1 commit
  17. 02 Aug, 2011 2 commits
  18. 12 Jan, 2011 1 commit
  19. 11 Jan, 2011 1 commit
  20. 29 Dec, 2010 1 commit
  21. 21 Dec, 2010 1 commit
    • Sebastien Robin's avatar
      Due to the sorting of database connectors during a transaction, the · f4fec173
      Sebastien Robin authored
      ZMySQLDA connector for the activities database would finish its
      commit procedure before ZODB, making the description of an activity
      message in MySQL available before its respective data in the ZODB.
      
      The fix consisted in replacing the ZMySQLDA connector with another
      one based on ZMySQLDA but with a “sortKey()” method that forced it
      to be sorted after both the ZODB connection and the ZMySQLDA
      connection for ZSQLCatalog.
      
      Analysis of issue was done by Sebastien and Julien.
      
      This patch itself was done by Leonardo.
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41598 20353a03-c40f-0410-a6d1-a30d3c3de9de
      f4fec173
  22. 21 Oct, 2010 2 commits
  23. 02 Sep, 2010 1 commit
  24. 11 Aug, 2010 3 commits
  25. 20 Jul, 2010 1 commit
  26. 15 Jul, 2010 1 commit
    • Sebastien Robin's avatar
      sync with trunk@37114 · c1ae57b0
      Sebastien Robin authored
      Conflicts:
      	bt5/erp5_base/bt/revision
      	bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py
      	bt5/erp5_simulation/bt/revision
      	bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml
      	bt5/erp5_trade/bt/change_log
      	bt5/erp5_trade/bt/revision
      	products/ERP5/Document/BusinessPath.py
      	products/ERP5/Document/SimulationMovement.py
      	products/ERP5/Document/TradeCondition.py
      	products/ERP5/Document/TradeModelLine.py
      	products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
      	products/ERP5Type/ERP5Type.py
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
      c1ae57b0
  27. 12 May, 2010 1 commit
  28. 28 Apr, 2010 1 commit
  29. 27 Apr, 2010 1 commit
    • Mame Coumba Sall's avatar
      Add new tests for different cases: · c804f6c3
      Mame Coumba Sall authored
        -If an exception is raised when sending mail, the error is not lost
         (available in zope event.log)
        -If an exception is raised when using the site error logger, the error is not
         lost. This test passes for SQLDict, but fails if activity is SQLQueue
        -If a traceback could not be generated, a mail can still be sent
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34819 20353a03-c40f-0410-a6d1-a30d3c3de9de
      c804f6c3
  30. 16 Apr, 2010 1 commit
  31. 06 Apr, 2010 1 commit
  32. 11 Mar, 2010 1 commit
  33. 19 Feb, 2010 2 commits