Feature #36695

Control Validation Groups and add Groups for Create and Update

Added by Alexander Berl over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Validation
Target version:
-
Start date:
2012-04-28
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

Description

As a developer I want to be able to validate objects differently on creation and update, for example a user registration needs to validate for non-existance of properties username/email, however when updating the user object those validations may not be evaluated, but all others.

I suggest extending the Validation Group Changeset with a new Annotation ValidationGroups for action methods to override the default groups ("Default", "Controller") and adding validation groups "Create" and "Update" for the MVC actions create and update.


Files


Related issues

Related to TYPO3.Flow - Feature #32832: Implement context-specific validation through Validation GroupsResolvedSebastian Kurfuerst2011-12-24

Actions
#1

Updated by Gerrit Code Review about 9 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 http://review.typo3.org/13556

#2

Updated by Gerrit Code Review about 9 years ago

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

#3

Updated by Gerrit Code Review about 9 years ago

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

#4

Updated by Gerrit Code Review about 9 years ago

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

#5

Updated by Alexander Berl about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF