1. 27 Feb, 2023 2 commits
    • Jérome Perrin's avatar
      testDynamicClassGeneration: use assertRegex · a1766606
      Jérome Perrin authored
      This was old compatibility code
      a1766606
    • Jérome Perrin's avatar
      CMFActivity,syncml: stop using a dedicated log file · fcd26be0
      Jérome Perrin authored
      $INSTANCE_HOME/log only exists in runUnitTest instances, this code had
      no effect in slapos instances.
      
      It is a future problem because it depends on the Signals module (part
      of ZServer package) and we are removing this dependency in the python 3
      port.
      
      For the SynchronizationTool, it was even more problematic because it
      can cause the component not to loed, with an error like:
      
          ImportError: erp5.component.tool.SynchronizationTool: cannot load Component SynchronizationTool (signal only works in main thread)
      fcd26be0
  2. 24 Feb, 2023 4 commits
  3. 23 Feb, 2023 1 commit
  4. 22 Feb, 2023 6 commits
  5. 21 Feb, 2023 5 commits
  6. 18 Feb, 2023 1 commit
  7. 17 Feb, 2023 7 commits
  8. 16 Feb, 2023 8 commits
  9. 15 Feb, 2023 2 commits
  10. 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
  11. 13 Feb, 2023 1 commit
  12. 10 Feb, 2023 2 commits