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 |
antograssiot
|
3e18f29e0d
correct typos
|
11 years ago |
Jose Lorenzo Rodriguez
|
1f3c3720f2
Renaming more methods and implemeting events for the rules checking
|
11 years ago |
Jose Lorenzo Rodriguez
|
56a6e4f863
Adding missing property and fixing typos
|
11 years ago |
Jose Lorenzo Rodriguez
|
8ec2efdd79
Renaming option meant to avoid rule checking during the save process
|
11 years ago |
Jose Lorenzo Rodriguez
|
0f2ee80bb8
Renaming some classes and methods
|
11 years ago |