Bug #9557

It's possible to persist multiple entities with the same identity properties

Added by Bastian Waidelich almost 5 years ago. Updated over 3 years ago.

Status:Rejected Start date:2010-09-01
Priority:Should have Due date:
Assigned To:Christian Müller % Done:

0%

Category:Persistence
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.0.0

Description

I annotated the "email" property of my test model with an @identity annotation. Now I would expect the persistence layer to prevent me from storing multiple instances with the same email in a repository.
But that's not the case. Is that a (missing) feature or a bug?


Related issues

related to TYPO3.Flow - Feature #29547: @identity should make property unique in Database Resolved 2012-04-30

History

#1 Updated by Karsten Dambekalns almost 5 years ago

Missing feature, it should do that.

#2 Updated by Karsten Dambekalns almost 5 years ago

  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Target version set to 1.0 alpha 13

#3 Updated by Karsten Dambekalns over 4 years ago

  • Target version changed from 1.0 alpha 13 to 1.0 alpha 14

#4 Updated by Karsten Dambekalns almost 4 years ago

  • Target version changed from 1.0 alpha 14 to 1230

#5 Updated by Karsten Dambekalns almost 4 years ago

  • Target version deleted (1230)

#6 Updated by Karsten Dambekalns almost 4 years ago

  • Affected Flow version set to FLOW3 1.0.0

#7 Updated by Christian Müller over 3 years ago

  • Assigned To changed from Karsten Dambekalns to Christian Müller
  • Has patch set to No

#8 Updated by Christian Müller over 3 years ago

  • Status changed from Accepted to Rejected

I will drop this ticket in favor of #29547 which is more concise in its title. The issue is the same.

Also available in: Atom PDF