mark_story
|
eb7b66b37c
Revert default value of allowEmpty.
|
14 years ago |
Ceeram
|
60c611fa47
Parse rules in getField()
|
14 years ago |
Ceeram
|
0df1e90eed
show all validation errors when saving/validating Associated and primary model fails validation as well, fixes #2925
|
14 years ago |
Kyle Robinson Young
|
54745aada9
Fix custom validation methods with CakeValidationSet
|
14 years ago |
Jose Lorenzo Rodriguez
|
5ba5f906e6
Adding new test case for ModelValidator
|
14 years ago |
Jose Lorenzo Rodriguez
|
51635c2ca6
Merge remote-tracking branch 'origin/2.1' into 2.2
|
14 years ago |
Jose Lorenzo Rodriguez
|
111a23274e
Fixing yet another issue related to beforeValidate and
|
14 years ago |
Tigran Gabrielyan
|
1367e5b927
Fixed failing test case
|
14 years ago |
Jose Lorenzo Rodriguez
|
9cceb1553f
Improving ModelValidator::add() to allow multiple rules to be defined at once
|
14 years ago |
mark_story
|
16a1a0ee79
Fix coding standards.
|
14 years ago |
Jose Lorenzo Rodriguez
|
dc8c731ccb
Fixed failing test case
|
14 years ago |
Jose Lorenzo Rodriguez
|
b22c50d8b6
Merge branch '2.1' into 2.2-validator
|
14 years ago |
Ceeram
|
7dbd6bc3a2
make sure model data is moved to alias, even when first key in data is assoc model
|
14 years ago |
Jose Lorenzo Rodriguez
|
307197da9e
Merge branch '2.2' into 2.2-validator
|
14 years ago |
Jose Lorenzo Rodriguez
|
7db2b97f87
Fixing error with validateMany and validateAssociated not saving values altered in beforeValidate callbacks
|
14 years ago |
Jose Lorenzo Rodriguez
|
0fb025f6dc
Fixing error with validateMany and validateAssociated not saving values altered in beforeValidate callbacks
|
14 years ago |
Jose Lorenzo Rodriguez
|
52c7b2383c
Added afterValidate callback to maintain consistency across all other callbacks in the model layer
|
14 years ago |
Jose Lorenzo Rodriguez
|
d4511af27b
Implemented add and remove in ModelValidator
|
14 years ago |
Jose Lorenzo Rodriguez
|
3199b9029b
Implemented countable interface for ModelValidator
|
14 years ago |
Jose Lorenzo Rodriguez
|
81c0c3d91d
Implementing IteratorAggregate interface for ModelValidator
|
14 years ago |
Jose Lorenzo Rodriguez
|
d35f8e6b00
Implementing ArrayAccess in ModelValidator
|
14 years ago |
Jose Lorenzo Rodriguez
|
843d95bb77
Renaming some methods ands removing others
|
14 years ago |
Jose Lorenzo Rodriguez
|
bf0f5ab118
Merge remote-tracking branch 'origin/2.1' into 2.2
|
14 years ago |
Jose Lorenzo Rodriguez
|
d348bf6807
Refactoring again CakeRule, making all tests pass
|
14 years ago |
Jose Lorenzo Rodriguez
|
deedd7a3ce
Even more tests passing now, almost there
|
14 years ago |
Jose Lorenzo Rodriguez
|
66a568be89
More tests passing now
|
14 years ago |
Jose Lorenzo Rodriguez
|
8700f3c7a2
Fixed some validation tests
|
14 years ago |
Jose Lorenzo Rodriguez
|
30761f9153
Removed more redundant lines in ModelValidation tests
|
14 years ago |
Jose Lorenzo Rodriguez
|
18c26119f3
Removing redundant code, cleaning up some sentences
|
14 years ago |
Jose Lorenzo Rodriguez
|
c31f87b7a1
Refactored getMethods, got rid of validationErrors property in ModelValidator, made validateAssociated and many tests
|
14 years ago |