Issue Bug Closed

#81384Form plugin crashs when using layout or partial paths

Felix Nagel 05/30/17, 23:34 updated 06/30/17, 10:31

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 

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.