Bug #85255
closedForm Framework - "AdvancedPassword" throws exception
100%
Description
In the TYPO3 Version 8.7.14 the following changes were added:
https://github.com/TYPO3/TYPO3.CMS/commit/70b8ffc06c68a21a5dc191d6b7f77b42092fc208
If someone switches to the new syntax of the partial "Field/Field". The AdvancedPassword form element is unusable.
In the TranslateElementErrorViewHelper the argument "error" was expected to be "TYPO3\CMS\Extbase\Validation\Error".
This works for every normal validator.
The AdvancedPassword form element is validated via a hook.
In this hook an error object "TYPO3\CMS\Extbase\Error\Error" was generated.
Therefore an exception was thrown that the type of the argument was not correct.
The fix is simple. The namespace for "Error" in "form/Classes/Hooks/FormElementsOnSubmitHooks.php" needs to be switched from "TYPO3\CMS\Extbase\Error\Error" to "TYPO3\CMS\Extbase\Validation\Error".
Updated by Justus Moroni over 6 years ago
- Target version changed from 8.7.19 to Candidate for patchlevel
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
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/57210
Updated by Gerrit Code Review over 6 years ago
Patch set 2 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/57210
Updated by Gerrit Code Review over 6 years ago
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/57211
Updated by Gerrit Code Review over 6 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/57211
Updated by Gerrit Code Review over 6 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/57212
Updated by Justus Moroni over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c347ac7ac58758bf1739affdc345808074c43153.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 2 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/57212
Updated by Gerrit Code Review over 6 years ago
Patch set 3 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/57212
Updated by Gerrit Code Review over 6 years ago
Patch set 4 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/57212
Updated by Justus Moroni over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset ce6766a3f1336562eb364a551a40bf4ec4e5f1c6.