Bug #37129
Form_ErrorsViewHelper do not work for form errors
| Status: | Rejected | Start date: | 2012-05-13 | ||
|---|---|---|---|---|---|
| Priority: | Should have | Due date: | |||
| Assignee: | - | % Done: | 10% |
||
| Category: | - | ||||
| Target version: | - | ||||
| Complexity: | |||||
| Votes: | 0 |
Description
This viewhelper seems to look for errors in
$errors = $this->controllerContext->getRequest()->getErrors();
which seems not filled if rewrittenPropertyMapper is enabled
Compare:
//nothing shown:
<f:form.errors>
<li>{error.code}: {error.message}</li>
</f:form.errors>
//works fine but is ugly:
<f:form.validationResults>
<f:for each="{validationResults.flattenedErrors}" as="fieldErrors">
<f:for each="{fieldErrors}" as="error">
<li>{error.code}: {error.message}</li>
</f:for>
</f:for>
</f:form.validationResults>
Related issues
| related to Fluid - Task #40813: Update examples in ValidationResults ViewHelper | Resolved | 2012-09-11 |
History
Updated by Daniel Poetzinger about 1 year ago
ok class is marked as @deprecated ...so its no bug
Btw. the description in Tx_Fluid_ViewHelpers_Form_ValidationResultsViewHelper needs to be corrected - its just cut and paste from ErrorViewHelper!
Updated by Ingo Pfennigstorf 8 months ago
- Status changed from New to Rejected
Ok, took your comment and put it into #40813
Updated by Marc Bastian Heinrichs 4 months ago
- Project changed from Extbase MVC Framework to Fluid