1. 28 Feb, 2023 1 commit
    • Levin Zimmermann's avatar
      erp5_core_test: restricted: Test pandas resampler · a5696ae9
      Levin Zimmermann authored
      In some projects we use pandas resampler inside 'portal_callables'
      (so with restricted Python). But we miss tests which check
      whether pandas resamplers are allowed inside the restricted Python.
      Due to this lack of tests we won't notice whether the usage of pandas
      resamplers still work with a newer pandas version. With this patch
      we can recognize if an internal change of pandas makes the resampler unusuable
      in restricted Python.
      
      /reviewed-on !1738
      /reviewed-by @jerome @klaus
      a5696ae9
  2. 27 Feb, 2023 4 commits
  3. 24 Feb, 2023 4 commits
  4. 23 Feb, 2023 1 commit
  5. 22 Feb, 2023 6 commits
  6. 21 Feb, 2023 5 commits
  7. 18 Feb, 2023 1 commit
  8. 17 Feb, 2023 7 commits
  9. 16 Feb, 2023 8 commits
  10. 15 Feb, 2023 2 commits
  11. 14 Feb, 2023 1 commit
    • Jérome Perrin's avatar
      oauth2_resource: fix property id · 55b855c6
      Jérome Perrin authored
      This object was not exported with its actual ID, reindexing cause
      warnings in the log, like this:
      
          2023-02-13 08:13:47,169 WARNING CMFActivity Message dropped (no object found at path ('', 'erp5', 'portal_property_sheets', 'OAuth2AuthorisationClientConnector', 'usable_as_default_property'))
          Traceback (most recent call last):
            File "./parts/erp5/product/CMFActivity/ActivityTool.py", line 282, in getObject
              obj = self._getObject(activity_tool)
            File "./parts/erp5/product/CMFActivity/ActivityTool.py", line 276, in _getObject
              obj = obj[id]
            File "./eggs/Zope2-2.13.30-py2.7.egg/OFS/ObjectManager.py", line 783, in __getitem__
              raise KeyError, key
          KeyError: 'usable_as_default_property'
      55b855c6