Issue Bug Closed

#79644Export to .t3d on Root page throws Exception while including TypoScript or TSConfig from local files.

Jan Stockfisch 02/06/17, 15:02 updated 10/02/18, 11:02

Description

Trying to export a page which includes local(from extension) TypoScript or TSConfig via include section throws this exception:

#1476107295: PHP Warning: A non-numeric value encountered in /var/www/html/vendor/typo3/cms/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 885

Steps to reproduce:

  1. Create a page in the pagetree
  2. Edit this page and go to resources tab
  3. Include Page TSConfig from extension
  4. Hit save
  5. Rightclick in the pagetree on this page
  6. Click on “Export to .t3d” in the “Branch Actions” section
  7. Excecption should be thrown

Encounter origin:
This exception is thrown in TYPO3\CMS\Impexp\ImportExport.php on line 326, because of a wrong argument gets passed: $r[‘size’] is an empty string.
The empty string is set in: TYPO3\CMS\Impexp\ImportExport.php on line 643.

Reviews 2