1. 17 May, 2022 33 commits
  2. 16 May, 2022 4 commits
    • Julien Muchembled's avatar
      ERP5Type: fix regression in properties.dtml · eef80b9e
      Julien Muchembled authored
      In commit a17bb910 ("py2/py3:
      Make Products code compatible with both python2 and python3"),
      2to3 changed `_.has_key(...)` to `... in _` whereas _ is not a dict.
      
      Traceback (innermost last):
       ...
       Module OFS.PropertyManager, line 309, in manage_editProperties
         manage_tabs_message=message)
       Module Shared.DC.Scripts.Bindings, line 322, in __call__
         return self._bindAndExec(args, kw, None)
       Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
         return self._exec(bound_data, args, kw)
       Module App.special_dtml, line 185, in _exec
         try: result = render_blocks(self._v_blocks, ns)
       Module DocumentTemplate.DT_In, line 707, in renderwob
         try: append(render(section, md))
       Module DocumentTemplate.DT_Let, line 76, in render
         else: d[name]=expr(md)
       Module DocumentTemplate.DT_Util, line 210, in eval
        - __traceback_info__: _
         return eval(code, d)
       Module <string>, line 1, in <module>
      
      TypeError: argument of type 'TemplateDict' is not iterable
      eef80b9e
    • Xiaowu Zhang's avatar
      erp5_trade: add product line selection in stock report · 6cbb159d
      Xiaowu Zhang authored
      See merge request nexedi/erp5!1628
      6cbb159d
    • Xiaowu Zhang's avatar
      e1360ac0
    • Romain Courteaud's avatar
      erp5_web: force redirection on website using a service worker · 7a7b4a45
      Romain Courteaud authored
      Delete the content of the cache storage (used by erp5js), unregister the service worker and force the browser to reload.
      7a7b4a45
  3. 13 May, 2022 3 commits
    • Romain Courteaud's avatar
      Drop erp5_xhtml_gadget_style · fa144eee
      Romain Courteaud authored
      It is now replaced by erp5_web_renderjs_ui
      fa144eee
    • Jérome Perrin's avatar
      erp5.util: Release erp5.util (0.4.74) · 4774f87a
      Jérome Perrin authored
      4774f87a
    • Jérome Perrin's avatar
      testnode/SlapOSControler: run partitions more times · 6eaf598b
      Jérome Perrin authored
      This is for *StandaloneDeploymentScriptTest* test suites, which
      download a large disk image during slapos node instance step.
      
      For example, on a Wendelin.StandaloneDeploymentScriptTest-Debian.Stretch
      test run [1], we can see that the slapos node instance started at
      2022-05-13 07:50:30,788 and stopped trying at 2022-05-13 07:51:35,885.
      
      In the last run, slapos node instance failed, especially this promise:
      
          2022-05-13 07:51:35,701 INFO     slapgrid_cp: 2022-05-13 07:51:35 slapos[3548917] ERROR ERROR '/srv/slapgrid/slappart22/t/cjl/i/1/srv/monitor/private/virtual-hard-drive-url/virtual-hard-drive-url-processed-config.state' not empty, content available at https://[???]:8026/private/virtual-hard-drive-url/virtual-hard-drive-url-processed-config.state
          ...
      
      and if we access this URL, we can see the error:
      
          [Errno 2] No such file or directory: '/srv/slapgrid/slappart22/t/cjl/i/1/var/virtual-hard-drive-url/update-image-processed.md5sum'
      
      which means that the image is still not downloaded.
      
      testnode still ignore slapos node instance state return code and run
      tests anyway, so the test ran and failed later.
      
      This image is 1.8Go, when I tried to download it locally it took
      56.41 seconds, so it must be generally almost OK.
      
      By retrying up to 60 times, we give more time for the slapos node
      instance step to download the image.
      
      [1]: https://softinst161166.host.vifib.net/cjl-oSgtg7v20D/suite.log
      6eaf598b