Fabien Potencier
082473659e
fixed validation of Doctrine proxy objects
2011-07-06 13:03:38 +02:00
Johannes Schmitt
1cc102788b
added @Annotation to UniqueEntity
2011-06-30 12:36:37 +02:00
Fabien Potencier
f57e1d3e10
fixed CS
2011-06-23 14:07:53 +02:00
Christian Raue
c17a836985
typo
2011-06-20 23:14:48 -07:00
Fabien Potencier
0ec604cb1e
Merge remote branch 'mschneid/master'
...
* mschneid/master:
Fix array access
2011-06-13 11:12:46 +02:00
Michael Schneider
fdab1955f8
Fix array access
...
If you provide only one field as string you're not able to access the $constraint->fields as an array. Use $fields instead.
2011-06-12 23:48:17 +02:00
Christian Raue
99eb3a120d
typo
2011-06-12 11:59:47 -07:00
Fabien Potencier
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Fabien Potencier
fbf36957e6
refactored Doctrine Bridge
...
* added a RegistryInterface
* changed all classes to depend on the Registry instead of a specific EntityManager
This is more consistent as the validator already took the registry and this allows
to use any entity manager in Forms.
2011-06-08 08:35:48 +02:00
Benjamin Eberlei
a4f1b8a0c1
[Doctrine] Fix default value to null for entity manager to make fluent integration with Doctrine Registry work
2011-05-18 23:26:20 +02:00
Benjamin Eberlei
23cf63d767
[Doctrine] Add fields as default option and allow strings to be passed.
2011-05-18 23:25:16 +02:00
Benjamin Eberlei
8ff1d09d36
[Doctrine] Implement suggested changes by Stof, added functional test to verify unique validator works.
2011-05-18 22:57:25 +02:00
Benjamin Eberlei
cfc2471109
[Doctrine] Add Unique Validator
2011-05-17 23:04:13 +02:00