1. 03 Jan, 2013 1 commit
    • Julien Muchembled's avatar
      Fix runUnitTest for Zope 2.13 by disabling ZopeLite patches · 4718f5e1
      Julien Muchembled authored
      A ZopeLite patch was added to prevent loading of zcml files, which is wrong
      for ERP5: CMF products were not properly initialized.
      
      Code is also simpler now that we call OFS.Application.initialize(), which is
      not significantly slower.
      
      We keep patch not to register help though because this is quite expensive:
      we should even consider always disable help because they seems to cause many
      conflicts during Zope cluster startup.
      
      A monkey-patch to unittest is updated for Python 2.7, so that tests aren't run
      when they shouldn't (e.g. --save without --load).
      4718f5e1
  2. 31 Dec, 2012 1 commit
    • Vincent Pelletier's avatar
      Do not call app() to get access to acl_users. · 6fc3a10f
      Vincent Pelletier authored
      app() creates a new transactional connection to ZODB, which triggers
      scary (although innocuous in this case) connection pool warnings.
      Instead, use getSite provided in ERP5 product and filled when
      traversing site's portal. Retrieved acl_users object is different, but
      this should not matter.
      Also, to prevent import loop and to keep this change minimal, do a
      local import.
      6fc3a10f
  3. 28 Dec, 2012 6 commits
  4. 27 Dec, 2012 3 commits
  5. 21 Dec, 2012 1 commit
  6. 19 Dec, 2012 4 commits
  7. 18 Dec, 2012 5 commits
  8. 17 Dec, 2012 9 commits
  9. 14 Dec, 2012 10 commits