1. 12 Jun, 2020 1 commit
  2. 22 May, 2019 1 commit
    • Thomas Gambier's avatar
      fix key in VirtualFolderMixin · 63183b06
      Thomas Gambier authored
      old key was simply "id" so when a container is a VirtualFolder (like Web
      Site), container._getOb("id") can return any object with id "id"
      including an object outside the container.
          
      Change the key to contain PhysicalPath of the container to get only
      objects inside the container.
          
      This actually fixes installation of some business templates with Web
      Site inside.
      
      /reviewed-on !867
      63183b06
  3. 26 May, 2015 1 commit
  4. 16 Oct, 2014 1 commit
  5. 30 Jan, 2014 1 commit
  6. 10 Sep, 2013 2 commits
    • Arnaud Fontaine's avatar
      ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components'... · c35d24e8
      Arnaud Fontaine authored
      ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components' (a771dca4) to fix tests bootstrap.
      
      The new syntax to load ZODB Tests Components is:
      runUnitTest BT_TITLE:TEST_NAME
      
      That commit was too adhoc as it was relying upon filesystem to load Tests
      Components and was not behaving like any other Components (versions was not
      available and other Components were not importable).
      
      At the end, it would have meant that a Test Component ran through runUnitTest
      and Live Tests (in ERP5 itself) would have behaved differently, thus instead:
      
      1/ Install BT_TITLE dependencies and its test dependencies (new bt property to
         specify bt to be installed only for tests on a fresh instance).
      2/ The site is loaded.
      3/ Load the test by importing it like any other Components.
      c35d24e8
    • Arnaud Fontaine's avatar