Bug #47363

Error Classes are only set for form fields in object context

Added by Sebastian Michaelsen over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-04-18
Due date:
% Done:

0%

Has patch:
No

Description

Fluid won't set error classes for form fields when they are not in object context ("property" attribute is not set).
I experienced the issue in v4 and have no FLOW running to verify it, but from looking at the code I'm pretty sure this is not v4 specific.

Here's the workaround I did for my v4 project: https://gist.github.com/smichaelsen/5416046


Related issues

Related to TYPO3.Fluid - Bug #52536: Errorclass not set if no property-attribute set Under Review 2013-10-04
Duplicates TYPO3.Fluid - Bug #34186: Setting a value always resets the field on mapping errors Closed 2012-02-22

History

#1 Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20276

#2 Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20276

#3 Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20276

#4 Updated by Gerrit Code Review about 6 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20276

#5 Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.Fluid has been pushed to the review server.
It is available at https://review.typo3.org/20276

#6 Updated by Bastian Waidelich over 4 years ago

  • Status changed from Under Review to Closed

Truely sorry for the huge delay, this was a tricky one (because it is a breaking behavior).. But I just moved this to https://jira.typo3.org/browse/FLOW-213 and take care of it right now

Also available in: Atom PDF