An error occurred fetching the project authors.
  1. 29 Dec, 2014 1 commit
    • Julien Muchembled's avatar
      simulation: remove all activity dependencies for indexation of 'delivery' category · 653ff194
      Julien Muchembled authored
      They were useless since 'delivery' is indexed in ZODB, and this also fixes
      a bug causing local build to fail in the following conditions:
      - root document moved to a state that triggers a builder,
        whereas there's no simulation tree yet
      - the builder select method has a condition on the root simulation movement
      
      An example is building of task reports, when the ERP is overloaded.
      
      The reason was that in some cases, ERP5 tried to set 2 tags on the same
      reindexing activity (built: in updateMovementCollection & expand: in
      _updateSimulation), but there's actually no support for multi-valued tags
      and for CMFActivity, default activate parameters (here expand:) have lower
      precedence (see ActivateObject.activate). So another possible fix is to add
      built: to _localBuild after_tag.
      
      This commit also renames expand: into build:
      653ff194
  2. 26 Jan, 2013 1 commit
    • Julien Muchembled's avatar
      Simulation: index 'delivery' categories in ZODB · 0a8fbb36
      Julien Muchembled authored
      Use of catalog to get related simulation movements from delivery lines/cells is
      unreliable.
      
      Until now, for any new code written for simulation, we often had to be careful
      not to call getDeliveryRelatedValueList too early, usually by deferring code
      to activities with complicated dependencies. Race conditions are difficult to
      avoid by developping this way, because for a given delivery, there are
      potentially so many events that happen at the same time, involving:
      - simulation, amongst causality, expand, building, solving (including split)
      - alarms, user actions, external interfaces, chains of activities
      - several related deliveries and simulation trees
      
      This commit enables ZODB-indexing of related documents for 'delivery' base
      category, making getDeliveryRelatedValueList safe and fixing unlink of
      deleted delivery lines/cells.
      
      Existing activity dependencies are left unchanged because builders only uses
      catalog and local building needs to find all simulation movements.
      0a8fbb36
  3. 18 Dec, 2012 1 commit
  4. 04 Aug, 2011 1 commit
  5. 27 Jul, 2011 1 commit
  6. 15 Jun, 2011 1 commit
  7. 08 Jun, 2011 1 commit
  8. 07 Jun, 2011 1 commit
    • Sebastien Robin's avatar
      on movement collections, use list of properties defined in rules · c64d4287
      Sebastien Robin authored
      Until now, we had in movement collections all possible properties
      found by _propertyMap for every movement. Now movement collections
      use list of properties defined in rules.
      
      This change was breaking some tests because not enough properties
      were expanded, so in the same time it is required to add more
      properties to progagate on several rules
      c64d4287
  9. 11 Mar, 2011 2 commits
  10. 17 Sep, 2010 1 commit
  11. 27 Jul, 2010 1 commit
  12. 05 May, 2010 1 commit
  13. 04 May, 2010 1 commit
  14. 29 Mar, 2010 1 commit
  15. 04 Mar, 2010 1 commit
  16. 28 Dec, 2009 2 commits
  17. 23 Dec, 2009 1 commit
  18. 16 Dec, 2009 1 commit