Bug #80919
closedForm CE runs into TypeError when a number is used as option key for a finisher
100%
Description
Reproduce:
Use custom PartialPath for a Finisher, e.g.:
finishers: - identifier: 'EmailToReceiver' options: subject: 'My Subject' recipientAddress: info@example.com recipientName: 'Some Company' senderAddress: '{email}' senderName: '{name}' partialRootPaths: 20: 'EXT:my_form/Resources/Private/Partials/' templatePathAndFilename: 'EXT:my_form/Resources/Private/Templates/Mails/ContactReceiver.html'
With this configuration the form CE runs into a TypeError Exception because the key '20' (from the partialRootPaths) is returned as an integer from a method (\TYPO3\CMS\Form\Hooks\DataStructureIdentifierHook::extractDottedPathToLastElement()
) that has to return a string and has strict typing enabled.
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52519
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52762
Updated by Anonymous over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset af31e19328b091a7016ac6c28872f68f2d5fb8a2.
Updated by Ralf Zimmermann over 7 years ago
- Has duplicate Bug #81384: Form plugin crashs when using layout or partial paths added