1. 08 Jan, 2020 1 commit
    • Arnaud Fontaine's avatar
      Folder: Allow to create temp_objects anywhere, without checking if it's in... · 112bc22b
      Arnaud Fontaine authored
      Folder: Allow to create temp_objects anywhere, without checking if it's in allowed types for that Portal Type.
      
      Until now, creating a temp_object with newContent() required for the temp_object
      to be in allowed types. However, this was inconsistent with (now deprecated)
      newTemp*() functions (calling directly constructInstance()) not having such
      limitations.
      
      Besides lifting such limitation being needed to properly replace newTemp*() calls,
      portal_trash.newContent() pattern is already commonly used used here meaning there
      is a real use case.
      
      This also fixes testBanking* failures: newTempCashDeliveryLine() created objects
      on 'Cash Inventory' and latter call Delivery.isAccountable() which does not exist on
      portal_trash.
      
      See also:
        04b49859
        03678123d60c07d58638a16433d599ae04b54194
      112bc22b
  2. 07 Jan, 2020 4 commits
  3. 30 Dec, 2019 3 commits
  4. 28 Dec, 2019 3 commits
  5. 27 Dec, 2019 2 commits
  6. 26 Dec, 2019 15 commits
  7. 25 Dec, 2019 12 commits