1. 27 Aug, 2019 5 commits
    • Vincent Pelletier's avatar
    • Vincent Pelletier's avatar
      EPR5Type.CopySupport: Do not delete activities for deleted document. · 198307aa
      Vincent Pelletier authored
      These activities may already be running, and deleting them would cause
      validation node to violate activity dependencies. For example,
      already-running indexation activities will not be waited upon, causing the
      unindexation activity spawned below to potentially finish before ongoing
      indexation, leading to a catalog persistently inconsistent with object
      database.
      If these activities are not already running, then CMFActivity will anyway
      discard them upon discovering that their execution context does not exist.
      And if these activities are failed, then it is a site maintenance issue
      (one should not keep failed activities for too long) and must not be a
      common case, and not really worthy of handling here.
      Also, rework a CMFActivity test checking that activties already-spawned on
      a later-deleted context get discarded instead of being executed. Previous
      test implementation order was to work around the activity deletion
      removed in this commit. The implementation used here is more natural.
      198307aa
    • Vincent Pelletier's avatar
    • Vincent Pelletier's avatar
    • Vincent Pelletier's avatar
      erp5_simulation: Reduce portal type duplication. · 39329628
      Vincent Pelletier authored
      Solver Tool portal type is also present in erp5_base, and erp5_simulation
      already depends on erp5_base.
      The alternative would be to move this to erp5_simulation along with what
      depends on it, which eventually includes workflows, which then break
      erp5_accounting (which should not depend on erp5_simulation, despite
      referencing workflows which do semantically belong to simulation).
      This change is much simpler, sufficient to not cause a regression, and
      this type is anyway already in erp5_base to begin with.
      39329628
  2. 26 Aug, 2019 8 commits
  3. 16 Aug, 2019 5 commits
  4. 15 Aug, 2019 7 commits
  5. 13 Aug, 2019 4 commits
  6. 09 Aug, 2019 8 commits
  7. 08 Aug, 2019 3 commits