1. 26 Jun, 2020 4 commits
  2. 25 Jun, 2020 2 commits
    • Arnaud Fontaine's avatar
      ZODB Components: Fix pylint warning. · c8e12a94
      Arnaud Fontaine authored
      W: Dangerous default value _MARKER (__builtin__.list) as argument (dangerous-default-value)
      c8e12a94
    • Nicolas Wavrant's avatar
      erp5_trade: move the composition cache in BusinessProcess.py · e5587493
      Nicolas Wavrant authored
      Since BusinessProcess.py was moved to portal_components, the cache in mixin/composition.py,
      which was kept at the level of the zope process, was causing issue when portal_components
      was reset : the classes kept in __class_cache would not get resetted, and later calls
      to asComposedDocument would reuse them. In consequence, these classes would kept pointers
      to objects in the old class BusinessProcess, causing bugs as these objects would have
      been cleaned by the reset.
      
      The first intuition was to remove this cache, unfortunately the reason of this introduction
      (fixing a memory leak) is still valid nowadays, so I've decided to move this cache within
      BusinessProcess, as it has the advantage of emptying it whenever portal_components is resetted.
      
      For more information of the bug mentionned above, and the trials about removing the cache can
      be found in the discussion of this MR :
      nexedi/erp5!1032
      e5587493
  3. 24 Jun, 2020 3 commits
  4. 23 Jun, 2020 14 commits
  5. 22 Jun, 2020 5 commits
  6. 19 Jun, 2020 2 commits
  7. 18 Jun, 2020 5 commits
  8. 17 Jun, 2020 2 commits
  9. 16 Jun, 2020 3 commits