#79644Export to .t3d on Root page throws Exception while including TypoScript or TSConfig from local files.
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:
- Create a page in the pagetree
- Edit this page and go to resources tab
- Include Page TSConfig from extension
- Hit save
- Rightclick in the pagetree on this page
- Click on “Export to .t3d” in the “Branch Actions” section
- 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.