gwoo
cda0009723
Fixing registry so the model group has
...
8/8 test cases complete: 1509 passes, 0 fails and 0 exceptions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7442 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 18:53:05 +00:00
nate
b3395569cf
Fixing quoting for complex conditions in DboSource, fixing broken DboSource tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7440 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 16:38:15 +00:00
gwoo
76f7d6dc43
making changes to all the model group to run. Currently I get 8/8 test cases complete: 1486 passes, 22 fails and 3 exceptions.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 15:36:26 +00:00
AD7six
99e3b11a61
correcting name variable of AclPerson model used in acl tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-06 14:13:01 +00:00
renan.saddam
57575402bc
Removing deprecated methods. Commenting several classes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7433 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 03:22:25 +00:00
DarkAngelBGE
b3f06defcd
adding workaround for schema generate snapshot. Fixes #5159 Adding documentation for schema generate snapshot.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7429 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 16:53:39 +00:00
AD7six
ac6c22d910
Allowing schema test to run as part of a group test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 17:41:05 +00:00
AD7six
c3e28fdb66
correcting eroneous reference to $db in model tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:57:04 +00:00
AD7six
53dcefff53
Modifying dbo_source to refer to $this->fullDebug rather than Configure::read() to determine whether or not to log
...
queries
modifying fixture loading to not log create, drop, truncate statements
correcting model tests that change fullDebug to reset to the value before the test ran
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:41:53 +00:00
renan.saddam
a07a023bbc
Added tests to prove conditions parsing complex keys bug. Refs #5134
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:26:50 +00:00
renan.saddam
616682decd
Added tests to save data with non existent fields. Closes #5154 as invalid
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7417 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 00:50:40 +00:00
nate
185a832e22
Removing column length from unsupporting columns in DboPostgres::buildColumn(), fixes #4804
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7411 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 13:10:37 +00:00
nate
8284872b82
Adding schema scoping to table description queries in DboPostgres, fixes #5006
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:33:01 +00:00
nate
793295036f
Re-fixing Model::set() to allow for fields that don't exist, fixing model validation with messages, adding tests to prove parameter order for custom validation errors, refs #50005
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7408 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:28:59 +00:00
gwoo
f6d269a9e0
closes #5142 primary key on custom join models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7393 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 15:38:23 +00:00
mark_story
f97a3f27b0
Quick update to AclBehavior test. Expanded coverage on deletion of dependant Nodes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7392 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 03:35:26 +00:00
mark_story
3402f40061
Adding test case for AclBehavior. Modified AclBehavior to use $model->name for configuration and operation. Closes #5163
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 03:26:15 +00:00
nate
5c796f4dbe
Disabling caching on SQLite table list queries, adding SQLite test, fixes #5174
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7385 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:18:48 +00:00
mark_story
bd298f0ff3
Fixed broken test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7375 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 01:12:03 +00:00
mark_story
96b5a6fa87
Added test to prove #5125 . Added documentation to updateAll.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7373 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-29 01:18:57 +00:00
mark_story
9b857e9f36
Added camelCase check for setTablePrefix. setTablePrefix now fires on PHP5. Closes #5147
...
Updated test in model.test to reflect changes in empty string handling for float and integer types.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 04:19:54 +00:00
mark_story
8185fb87fc
cleaning up requires to be App::import()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 03:36:30 +00:00
mark_story
8d2e4721e3
Added checks for empty string in integer columns. value() Now returns NULL. Closes #5141
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 02:49:02 +00:00
mark_story
c286736f69
Added afterFind callback to Models where recursive >= 2. Added tests from 'ezyang'. Closes #5103
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7347 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-20 17:25:39 +00:00
renan.saddam
8bbc0d7078
Added test case to prove #5096 . Refs #5096
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 00:48:58 +00:00
mark_story
b2d74c8be1
Added tests to cover model validation setting errors, controller render passing error and form helper field error display. Closes #5077 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7338 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 02:13:14 +00:00
AD7six
a98cafcfbe
Adding test case for #5064
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7332 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 17:51:08 +00:00
phpnut
bdc3685e62
Fixes #5024 , find('threaded') returns empty array if root node is not included in the results.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:10:42 +00:00
phpnut
5131e1c3b3
Fixing undefined variable usage in Model::saveField();
...
Fixes #5053 Model:saveField $options bug;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 11:02:09 +00:00
mark_story
3da913f392
Updated String::insert() so that when using ? as parameter it offsets the length of the parameter. Added tests to model, and string. Closes #5035
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 02:19:19 +00:00
renan.saddam
88197569ad
Added test case to #5008 . Quoting numeric value 0 (zero)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7302 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 13:44:16 +00:00
nate
99eb60e7b0
Adding test case for DboSource::conditions(), disproves #5008
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7297 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-28 01:08:52 +00:00
gwoo
c004dd68a5
removing empty lines from the end of test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:17:02 +00:00
gwoo
2bf3a0b08f
commented behavior.test for future cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:23:22 +00:00
gwoo
c78b02460f
updating mode.test to comply with last changes to deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7287 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:33:53 +00:00
nate
14e8c5fe7b
Correcting inconsistent return values in Model::saveAll(), updating bad tests, fixes #4981
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7283 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:07:00 +00:00
gwoo
70276afa3b
fixes #3456 , Use = instead of IN where possible
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7280 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 05:14:52 +00:00
AD7six
d000c59ceb
Deprecating findNeighbours
...
adding find('neighbors')
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7272 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 19:42:07 +00:00
AD7six
383c11fc13
Adding test case for find('threaded');
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7269 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:28:12 +00:00
joelmoss
a34c3a85de
removing getTests method from model test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7267 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:09:02 +00:00
joelmoss
65281500b3
Added test to disprove #4992 . Closes #4992 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7265 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 14:12:48 +00:00
phishy
c60b232ab4
fixed quoting bug in name()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7259 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 21:11:23 +00:00
gwoo
f2fd386217
fixes #4892 different users on oracle, fixes #4894 escaping field
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7258 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 20:30:51 +00:00
nate
3ce765358d
Fixing boolean handling in DboPostgres, closes #4878
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7257 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:55:59 +00:00
gwoo
3552ebea58
converting spaces to tabs in dbo_postgres.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7256 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:12:39 +00:00
renan.saddam
64486027db
moving models to models.php
...
fixing translating issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7254 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 03:16:28 +00:00
gwoo
91d86b91a4
fixes #4832 , lastinsert in postgres. test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7247 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 15:59:27 +00:00
mariano.iglesias
6eb4aba543
Changing test for Containable to reflect #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7246 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 06:33:31 +00:00
gwoo
ca38b035b5
fixes #4790 , restoring associations in Containable. Thanks to maular for the patch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7245 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 04:41:15 +00:00
DarkAngelBGE
8b9aa057dd
adding test for #4861
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:18:30 +00:00
the_undefined
95522fa3a9
Applied patch by floob, fixes #4876
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7234 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 12:27:54 +00:00
mariano.iglesias
f7c447aa32
Adding test to containable, disproves and closes #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7233 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 00:02:30 +00:00
mariano.iglesias
689c0d9762
Fixing matches from previous tests added to Containable
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7232 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:55:03 +00:00
mariano.iglesias
8d8fb99e37
Adding one more test case to Containable, refs #4872
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7231 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:54:00 +00:00
mariano.iglesias
9746c713fa
Adding test cases to Containable, disproves and closes #4872
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7230 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:52:38 +00:00
mariano.iglesias
64d49c8afc
Adding test cases to Containable, disproves and closes #4934
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7229 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:41:54 +00:00
nate
7b6ee7386b
Correcting issue where TranslateBehavior hijacks find() calls from Model::exists(), fixes #4765
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7225 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 02:33:04 +00:00
nate
df75a06756
Fixing coding standards violations in core, and adding misc tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
gwoo
c75cad26d5
updating model test for new find syntax
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7217 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 17:06:50 +00:00
gwoo
7d06612b35
closes #4935 , NOT usage requires ()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7215 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 16:12:57 +00:00
phpnut
886183fcd4
Closes #4202
...
Adding patches
Added fixture files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7198 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-16 03:11:32 +00:00
DarkAngelBGE
a83d373f51
allowing the passing group statements to Model::find() in array notation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7192 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:08:50 +00:00
gwoo
552af82e7b
closes #4857 , data validation in translate behavior, if field in model data is passed as an array. Either the data with current mode local or the first value in the array of data is used for validation purposes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7190 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 23:21:09 +00:00
gwoo
2d3480a9ae
closes #4917 , adding test cases to show that 0 is properly handled in conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7187 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:26:01 +00:00
gwoo
e57a7cc88c
fixes #4888 , closes #4864 Model::set when saving multi dimensional arrays, tests added from patch, thanks renan
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7184 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 20:39:27 +00:00
gwoo
21072ae707
fixes #4889 , or conditions and parentheses. Also removes unneeded parentheses which hopefully makes for cleaner looking query strings. Tests updated to match the new output.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7183 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 19:45:26 +00:00
DarkAngelBGE
70aa290f5b
fixing find('list') calls with a fields array that doesn't contain the model alias, closes #4851
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7158 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 17:27:12 +00:00
DarkAngelBGE
e221e9fb61
forcing the db layer to make an WHERE field IS NULL when find statements are called with empty arrays, closes #4845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7155 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 16:17:44 +00:00
DarkAngelBGE
3c518c182f
fixing wrong NOT IS in dbo_source, closes #4844
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7154 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 15:45:54 +00:00
the_undefined
2f761ccba1
Set correct permissions for dbo_oracle.test.php, fixes #4843
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7144 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 07:31:00 +00:00
AD7six
a978fb2661
adding Doc blocks to everything in tests folder missed in the first pass.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7126 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 15:20:45 +00:00
gwoo
f7365640bf
updating dbo source test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7124 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:54:56 +00:00
gwoo
288db81884
fixes #4850
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7122 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:48:54 +00:00
nate
7e2b58b8d7
Adding test case for DboSource::order(), disproves #3098
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7117 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:27:55 +00:00
mariano.iglesias
2d2096d9f7
Fixing issue where Containable was not resetting the original bindings properly when reset was false under some circumstances, fixes #4812
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7104 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 14:12:38 +00:00
mark_story
fbed4d6bf9
Added maular's submitted tests. Closes #4786 , #4789
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7099 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 04:43:44 +00:00
mariano.iglesias
1d56175560
Adding missing attach to replicate issue what was already solved for #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7098 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:41:29 +00:00
AD7six
f44c755475
Adding doc blocks to everything in the tests dir
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7094 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:22:55 +00:00
mariano.iglesias
04b8270fb6
Adding tests to show use of bindModel with reset false and pagination in Containable, closes #4812
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7090 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 18:05:45 +00:00
mariano.iglesias
4b2b8fcc1c
Adding tests to show HABTM saving with custom model keys, disproves and closes #4791
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7082 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:04:30 +00:00
mariano.iglesias
7101b8d4cd
Adding tests for grouping with Product model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7081 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 19:00:33 +00:00
mark_story
9bea02d518
Adding product fixture and product model for group by tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7080 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 18:26:25 +00:00
mariano.iglesias
768e0c748b
Keeping index when setting validation errors for saveAll, fixes #4769 and closes #4462
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7079 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 22:01:47 +00:00
mariano.iglesias
29c784be15
Adding test for issue when group and order are specified for a find
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7077 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 21:29:37 +00:00
gwoo
73e926fea8
adding test to model, closes #4809
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7076 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 16:57:30 +00:00
nate
39feb3f7c1
Refactoring DboSource. Model array conditions must now have comparison operators on the left side, fixes misc bugs, updated core to reflect changes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7075 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 12:36:38 +00:00
mariano.iglesias
a94c890734
Adding test to show original associations working correctly, disproves and closes #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7068 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 02:59:55 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
mark_story
78ff2ad4bd
Implemented 'group' by conditions for model finds. Added tests from 'wluigi' Closes #2833
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7057 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 12:27:23 +00:00
AD7six
4bafc397f9
fixes #4761 , tree behavior parameter array merge logic incorrect
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7056 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 16:02:31 +00:00
AD7six
26a31efbe5
fixes #4761 , visibility in tree test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7054 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 15:26:29 +00:00
gwoo
a2b873d0f8
adding test to schema, closes #4731
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7048 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 18:44:55 +00:00
mariano.iglesias
060bbf1caf
Adding test to show proper use of allowEmpty on validation rules, closes #4749
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7036 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:46:42 +00:00
nate
6a99a6ba60
Changing Model::getColumnType() to return null for unknown fields, allowing for type introspection, updating docblock for Model::hasField(), fixes #4751
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7035 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:40:50 +00:00
mariano.iglesias
9c722b6999
Improving field detection in Containable. paginate() now avoids sending recursive to find calls when it is not explicitly set. Adding more tests to Containable to show how to paginate, fixes #4746
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7030 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 16:12:14 +00:00
mariano.iglesias
88b16a1d6c
Updating model test for slow DB connections
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7028 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 14:48:55 +00:00
the_undefined
54715db5dd
Made DboSource::length return string for float-like values, added a bunch of tests, fixes #4739
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7027 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 07:09:16 +00:00
nate
7402680cc1
Misc code formatting and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7020 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:11:41 +00:00
nate
f2ea3c8bb0
Refactoring DboSource to use Model in order to properly quote values by column type, correcting serial integer schema generation in DboPostgres, fixes #4702 , refactoring TreeBehavior to use DboSource::calculate(), fixes #4725 , updating docblocks, fixing DboSource test to be database-agnostic, misc. whitespace fixes, updating DboSource test to reflect new quoting rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7015 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 19:05:37 +00:00