1. 27 Oct, 2016 1 commit
    • Arnaud Fontaine's avatar
      'Standard Property' must be in 'property' Portal Type Group since 687fedda (#20161014-1C29326). · 1a4f7cf1
      Arnaud Fontaine authored
      Otherwise, reset is not triggered when changing a 'Standard Property'
      ZODB Property Sheet (through dynamic_class_generation_interaction_workflow
      ChangeProperty_resetDynamicClasses Interaction). Also, add Unit Tests to
      check that this Interaction is properly called.
      
      'Base Category' was also removed in 687fedda but this does not seem to be
      an issue as 'Category Property' and 'Dynamic Category Property' only use
      the ID, and thus this is handled by PropertySheet_resetDynamicClasses
      Interaction (_delObject/_setObject will be called).
      1a4f7cf1
  2. 26 Oct, 2016 2 commits
  3. 24 Oct, 2016 1 commit
    • Arnaud Fontaine's avatar
      MailHost: Set SMTP socket timeout to 16s (#20161019-4A3BD2). · ec3c9cbc
      Arnaud Fontaine authored
      With old versions of Zope, it was possible to define the SMTP connection
      timeout but this is not possible anymore even though MailHost, in turn
      using zope.sendmail, uses Python smtplib library.
      
      This meant that once connect() was called, it may have taken around 2
      minutes or more before timeout (and this is OS-specific as well)
      blocking one Zope thread.
      ec3c9cbc
  4. 16 Oct, 2016 1 commit
  5. 14 Oct, 2016 1 commit
  6. 07 Oct, 2016 1 commit
  7. 05 Oct, 2016 1 commit
  8. 22 Sep, 2016 4 commits
  9. 20 Sep, 2016 1 commit
  10. 15 Sep, 2016 1 commit
  11. 02 Sep, 2016 2 commits
  12. 23 Aug, 2016 2 commits
  13. 22 Aug, 2016 1 commit
  14. 11 Aug, 2016 1 commit
    • Rafael Monnerat's avatar
      PerformanceTests: Update to the new hardware · 5a7536ce
      Rafael Monnerat authored
        Performance tests were reconfigured on a new hardware, which is slower them
        the previous one. So this commit move the values to the new hardware based on
        the results after few days of result.
      5a7536ce
  15. 10 Aug, 2016 1 commit
    • Sebastien Robin's avatar
      ERP5Type.dynamic: show up failures in __getattribute__ of lazy_class · d032411c
      Sebastien Robin authored
      If for some reasons loadClass was not working, it was failing totally
      silently without any log. If there is any unexpected error in loadClass,
      this ended up for example having some tests failing with :
      
      RuntimeError: Malformed property definition <persistent broken
      erp5.portal_type.Acquired Property instance '\x00\x00\x00\x00\x00\x00\x12\xb5'>
      on /erp5/portal_property_sheets/SimpleItem
      
      While only this was displayed in logs :
      
      ERP5Type/dynamic/lazy_class.py", line 350, in loadClass
          class_definition = generatePortalTypeClass(site, portal_type)
      ...
      AttributeError: __of__
      
      Which was totally unrelated to the real problem.
      
      So a silent initial error was the source of later unrelated errors, making
      it very difficult to find the initial source of problem.
      
      So make sure we have logs as soon as we are not able to load a class.
      d032411c
  16. 09 Aug, 2016 1 commit
  17. 02 Aug, 2016 2 commits
  18. 27 Jul, 2016 1 commit
  19. 25 Jul, 2016 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Fix bootstrap issue. · 5ba7e6fa
      Arnaud Fontaine authored
      When a Property Sheet with a ScriptConstraint (whose Document is a ZODB
      Component) was added to Memcached Tool: Document Component was partially
      loaded with no Property Sheet yet (and thus without the accessors needed
      to import ScriptConstraint ZODB Component) and ScriptConstraint Document
      was considered not available.
      5ba7e6fa
  20. 15 Jul, 2016 1 commit
  21. 08 Jul, 2016 1 commit
  22. 30 Jun, 2016 2 commits
  23. 29 Jun, 2016 6 commits
  24. 28 Jun, 2016 3 commits
  25. 23 Jun, 2016 1 commit