1. 14 Feb, 2023 2 commits
    • Jérome Perrin's avatar
      oauth2_resource: fix property id · 3b7dc3bb
      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'
      3b7dc3bb
    • Jérome Perrin's avatar
      Revert "oauth2_resource: fix property id" · b678fc57
      Jérome Perrin authored
      This reverts commit 4078bd94.
      b678fc57
  2. 13 Feb, 2023 13 commits
  3. 10 Feb, 2023 3 commits
  4. 09 Feb, 2023 1 commit
  5. 08 Feb, 2023 5 commits
  6. 06 Feb, 2023 1 commit
  7. 04 Feb, 2023 1 commit
    • Jérome Perrin's avatar
      credential: stop using deprecated property for email · 149fdd1d
      Jérome Perrin authored
      In 44e0b22f (Move to new API, detailed properties take precedence,
      2011-09-09) we introduce a new data model for coordinates, in the case
      of emails, we have "url_string" fro the "detailed" form and
      "coordinate_text", for the "store what user entered" form.
      
      In some places of erp5_credential, we use setDefaultEmailText, which
      calls Coordinate.setText which uses the deprecated Coordinate.fromText,
      which sets the same value for "url_string" and "coordinate_text", which
      seems a questionable behavior, because the data is saved twice and
      some code might be using the wrong property.
      
      This changes every usage to the new coordinate_text property
      149fdd1d
  8. 03 Feb, 2023 14 commits