antograssiot
|
b19dd062bb
remove unsued import
|
10 years ago |
José Lorenzo Rodríguez
|
93bdcc6ca0
Merge pull request #7951 from cakephp/3.2-entity-invalid
|
10 years ago |
Mark Scherer
|
b1b8dac9c8
Allow invalid field data to be kept along with the error messages in the Entity.
|
10 years ago |
Mark Story
|
02a7a1c5ea
Add useful error message when invalid associations are used.
|
10 years ago |
Jose Lorenzo Rodriguez
|
3bb16bf797
Using bindingKey in existsIn, fixes #7709
|
10 years ago |
ADmad
|
15a5607841
Make PHPCS happy
|
10 years ago |
Yves P
|
d2993dd1d1
Reorder fixtures to prove that the order does not matter anymore
|
10 years ago |
Mark Story
|
cb308f0c5e
String return values from rules should trigger errors.
|
11 years ago |
Jose Lorenzo Rodriguez
|
e7580d31ea
Correctly setting the error message for existsIn() when an array is used
|
11 years ago |
José Lorenzo Rodríguez
|
ca7ff37e6e
Merge pull request #5972 from cakephp/3.0-aftersavecommit
|
11 years ago |
ADmad
|
3ee2e90ab5
Trigger afterSaveCommit for non-atomic saves too for primary table.
|
11 years ago |
Mark Story
|
bd72597814
Fix incorrectly named test.
|
11 years ago |
Jose Lorenzo Rodriguez
|
f879ef6a1f
Merge branch '3.0' into 3.0-fix-exists-in
|
11 years ago |
ADmad
|
451dc357e9
Use Connection::isTransaction() instead of _primary flag.
|
11 years ago |
ADmad
|
90845c44fc
Add '_primary' flag to save options.
|
11 years ago |
Mark Story
|
14dfc65fc9
Fix duplicate column errors in IsUnique rules.
|
11 years ago |
Mark Story
|
49465ec929
Make ExistsIn rule work with nullable columns.
|
11 years ago |
Jose Lorenzo Rodriguez
|
0b65594044
Fixes ambiguous column error in ExistsIn, fixes #5877
|
11 years ago |
ADmad
|
7347657ed4
Prefix name keys used by core with underscore.
|
11 years ago |
ADmad
|
b625cb7b3b
Allow specifying name for application rules.
|
11 years ago |
Walther Lalk
|
80cf81675e
Update tests
|
11 years ago |
Bryan Crowe
|
be845a3a01
Run phpcbf for PSR2 CS fixers
|
11 years ago |
Jose Lorenzo Rodriguez
|
831ec800ce
Removing the rules checker object as the last param of the events
|
11 years ago |
Jose Lorenzo Rodriguez
|
6b9bf35143
Prevented unneeded existsIn check for automatically saved hasMany
|
11 years ago |
Jose Lorenzo Rodriguez
|
1ff7c4ab56
Passing custom options from delete to the rules checker
|
11 years ago |
Jose Lorenzo Rodriguez
|
10ead5bc60
Fixing some failing tests
|
11 years ago |
Jose Lorenzo Rodriguez
|
dc560fa1f1
Adding support to the RulesChecker to check entities before deleting them
|
11 years ago |
Jose Lorenzo Rodriguez
|
3b1041fae2
Fixing isUnique and extistsIn rules when updating entities
|
11 years ago |
Mark Story
|
9da7e9d446
Correct more docs and add an assertion.
|
11 years ago |
Jose Lorenzo Rodriguez
|
be30281dcc
Added a Model.buildRules event
|
11 years ago |