1. 14 Jun, 2023 31 commits
  2. 07 Jun, 2023 2 commits
  3. 06 Jun, 2023 1 commit
    • Rafael Monnerat's avatar
      erp5_accounting&trade&pdm: Missing set ConstraintType on constraints · 273f273a
      Rafael Monnerat authored
         This is expected that constraints can call getConstraintType() if they are filtered:
      
          return context.checkConsistency(fixit=1, filter={'constraint_type': 'post_upgrade'},)
        Module Products.ERP5Type.Core.Folder, line 1476, in checkConsistency
          error_list.extend(obj.fixConsistency(filter=filter, **kw))
        Module Products.ERP5Type.Base, line 2714, in fixConsistency
          return self.checkConsistency(fixit=True, filter=filter, **kw)
        Module Products.ERP5Type.Core.Folder, line 1476, in checkConsistency
          error_list.extend(obj.fixConsistency(filter=filter, **kw))
        Module Products.ERP5Type.Base, line 2714, in fixConsistency
          return self.checkConsistency(fixit=True, filter=filter, **kw)
        Module Products.ERP5Type.Core.Folder, line 1462, in checkConsistency
          **kw
        Module Products.ERP5Type.Base, line 2686, in checkConsistency
          for constraint_instance in self._filteredConstraintList(filter):
        Module Products.ERP5Type.Base, line 2739, in _filteredConstraintList
          constraints = [x for x in constraints if x.__of__(self).getConstraintType() in \
      AttributeError: 'RequestContainer' object has no attribute 'getConstraintType'
      273f273a
  4. 02 Jun, 2023 1 commit
  5. 30 May, 2023 1 commit
  6. 29 May, 2023 1 commit
    • Jérome Perrin's avatar
      oauth_google_login: apply a 10 seconds timeout when connecting to google server · e53f712e
      Jérome Perrin authored
      In case of network problems, the http requests made to google during
      login may take too long and cause global unavailability of the ERP5
      instance.
      
      Today we saw in long request logs:
      
          2023-05-29 07:10:35,662 - Thread 140596157511424: Started on 1685336511.6; Running for 524.1 secs; Same.
      
      oauth2client does not expose an API to set a timeout, but it allows
      passing a custom http instance where we can set a timeout.
      e53f712e
  7. 24 May, 2023 1 commit
  8. 18 May, 2023 2 commits
    • Jérome Perrin's avatar
      BTreeFolder2: do not patch manage_delAllObjects on Zope2 · 50b981b5
      Jérome Perrin authored
      On Zope2 this method does not exist and this caused a test failure
      
      ======================================================================
      FAIL: test_method_protection (testSecurity.TestSecurity)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "parts/erp5/Products/ERP5/tests/testSecurity.py", line 110, in test_method_protection
          self.fail(message)
      AssertionError:
      The following 1 methods have a docstring but have no security assertions.
      	parts/erp5/product/ERP5Type/patches/BTreeFolder2.py:111 manage_delAllObjects
      50b981b5
    • Jérome Perrin's avatar
      Fix neo log rotation · a0b89f5d
      Jérome Perrin authored
      See merge request !1786
      a0b89f5d