Project

General

Profile

Actions

Bug #81384

closed

Form plugin crashs when using layout or partial paths

Added by Felix Nagel almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2017-05-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using templatePathAndFilename with partial and / or layout paths config like this:

templatePathAndFilename: 'EXT:my_ext/Resources/Private/Form/Templates/Finishers/Email/{@format}.html'
layoutRootPaths:
 100: 'EXT:my_ext/Resources/Private/Layouts/'
partialRootPaths:
 100: 'EXT:my_ext/Resources/Private/Partials/'

the form plugin will crash with following error when opened:

Return value of TYPO3\CMS\Form\Hooks\DataStructureIdentifierHook::extractDottedPathToLastElement() must be of the type string, integer returned 

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #80919: Form CE runs into TypeError when a number is used as option key for a finisherClosedDaniel Goerz2017-04-20

Actions
Actions

Also available in: Atom PDF