1. 30 Jun, 2020 16 commits
  2. 29 Jun, 2020 9 commits
  3. 26 Jun, 2020 2 commits
  4. 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 :
      !1032
      e5587493
  5. 24 Jun, 2020 10 commits
  6. 23 Jun, 2020 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Migrate Tools in Products.ERP5.Tool to erp5_core. · d2f87fd8
      Arnaud Fontaine authored
      Besides migrating Tools .py, this also moves the Tools themselves (portal_*):
       * Some of them were created before erp5_core being installed and this
         would not work anymore as their .py is now in erp5_core.
       * Some others were created after (via setupLastTool()) and this would not
         work neither as sub-objects may be installed by erp5_core.
      
      Add them to template_keep_path_list to prevent them from being re-created like
      ERP5Site.addERP5Tool() used to do (depend on 3180424b, 91393be2).
      
      Not migrated:
        * AlarmTool: Needed for upgrader.
        * CategoryTool, IdTool: Bootstrap.
        * TemplateTool, TrashTool: Business Template installation.
        * SolverTool: TypeProvider.
        * ContributionTool: Imported by Products.ERP5.Document.Document used in many places, will be done later.
        * NotificationTool: Imported by ERP5.Document.EmailDocument, will be done later.
      d2f87fd8