Feature #44622

Add unique entity validator

Added by Aske Ertmann over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-01-17
Priority:Could have Due date:
Assigned To:- % Done:

100%

Category:Validation
Target version:TYPO3 Flow Base Distribution - 2.0
PHP Version:5.3 Complexity:medium
Has patch:Yes

Description

After creating a unique entity validator for Neos I shared it in the IRC channel and people seemed to like the idea. So I've moved it into the Flow package and would like some feedback if people would like to have this general validator or if we should keep it out.

It works for action controllers and is intended for create and update methods. The uniqueness is defined by the entity's identity properties. It should work with both Doctrine and Generic persistence.

Thanks to RafaelK, sorenmalling & afoeder for helping getting it to the final implementation.

Associated revisions

Revision 7ee3832c
Added by Aske Ertmann over 2 years ago

[FEATURE] Add unique entity validator

This adds a validator for ensuring uniqueness of submitted
entities. It uses the entity identity properties to determine
the uniqueness of the entity. Made with intended use in create
& update actions using the action parameter validation.

Change-Id: I52707f97a01ad902b654f80cf5aa873dc7ff8c24
Resolves: #44622
Releases: 2.0, master

Revision e4377e56
Added by Aske Ertmann over 2 years ago

[FEATURE] Add unique entity validator

This adds a validator for ensuring uniqueness of submitted
entities. It uses the entity identity properties to determine
the uniqueness of the entity. Made with intended use in create
& update actions using the action parameter validation.

Change-Id: I52707f97a01ad902b654f80cf5aa873dc7ff8c24
Resolves: #44622
Releases: 2.0, master

History

#1 Updated by Aske Ertmann over 2 years ago

  • Status changed from New to Under Review
  • % Done changed from 0 to 70

#2 Updated by Gerrit Code Review over 2 years ago

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

#3 Updated by Gerrit Code Review over 2 years ago

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

#4 Updated by Gerrit Code Review over 2 years ago

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

#5 Updated by Gerrit Code Review over 2 years ago

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

#6 Updated by Gerrit Code Review over 2 years ago

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

#7 Updated by Gerrit Code Review over 2 years ago

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

#8 Updated by Gerrit Code Review over 2 years ago

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

#9 Updated by Aske Ertmann over 2 years ago

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

Also available in: Atom PDF