1. 02 Sep, 2020 7 commits
    • Alain Takoudjou's avatar
      Apply commit: Disallow any compensation. · 85b818be
      Alain Takoudjou authored
      From Lukasz Nowak:
      
      1- Compensation is undesired. (51c8a250)
      
        Raise loudly with message.
      
      2- Disallow any compensation. (3c74ed07)
      
      3- Emit more informative log. (534b2e77)
      85b818be
    • Łukasz Nowak's avatar
      Update Open Order simulation in alarm. · 53566f20
      Łukasz Nowak authored
      Also minimise activity hurricane by calling expand directly.
      
      Open Orders are searched using indexation timestamp, which allows to see them
      in "windows", and does not repeat expand if not needed.
      
      Generate activities and allow to pass the tag. Use search and activate
      everywhere which will allow to walk through objects without killing the cluster
      even in case of really big documents.
      
      Avoid calling isDivergent which can take few minutes to finish.
      
      causality_state comes from well designed causality workflow, which informs
      enough about delivery state. Fetching causality_state property is extremely
      fast.
      53566f20
    • Rafael Monnerat's avatar
      Remove most disguised interactions related to simulation. · 3e4158ff
      Rafael Monnerat authored
      Notes:
      
      Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as
      these interaction workflows do not generate activities directly, and do work
      that can't be postponed.
      
      By contrast, 'calculate' transition of delivery_causality_workflow is modified
      so that no 'updateCausalityState' activity is created by default.
      
      This commit also update list of method_id which should not call calculate_causality
      3e4158ff
    • Romain Courteaud's avatar
      Proxy role is needed to access the site message context. · 1f5c1ef8
      Romain Courteaud authored
      Conflicts:
      	bt5/erp5_crm/bt/revision
      1f5c1ef8
    • Romain Courteaud's avatar
      b2a1e543
    • Jérome Perrin's avatar
      Revert "base: ensure migrated persons have a user_id" · e874575d
      Jérome Perrin authored
      This reverts commit bc67c2c4.
      
      This is seem to stall testFunctionalAdvancedECommerce with this error:
      
            Module script, line 5, in Workflow_ensureUserId
             - <PythonScript at /erp5_portal_7f1517681f85de9695ca475d69c4d66f/portal_workflow/login_interaction_workflow/scripts/Workflow_ensureUserId>
             - Line 5
              user = state_change['object'].getParentValue()
            Module AccessControl.ZopeGuards, line 87, in guarded_getitem
              if getSecurityManager().validate(object, object, None, v):
          Unauthorized: You are not allowed to access '2' in this context
      
      let's revert for now, we'll re-do this with more tests.
      e874575d
    • Romain Courteaud's avatar
      erp5_configurator_standard: update officejs sdk test · 5ca4964b
      Romain Courteaud authored
      New dependencies were added in 206a8e25
      5ca4964b
  2. 01 Sep, 2020 9 commits
  3. 31 Aug, 2020 8 commits
  4. 27 Aug, 2020 1 commit
  5. 26 Aug, 2020 1 commit
  6. 25 Aug, 2020 3 commits
  7. 24 Aug, 2020 4 commits
  8. 21 Aug, 2020 5 commits
  9. 19 Aug, 2020 2 commits