Project

General

Profile

Actions

Bug #79644

closed

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

Added by Jan Stockfisch over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2017-02-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

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.

Actions

Also available in: Atom PDF