phpnut
6677e0abcc
Adding test I forgot to commit with [5677]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5678 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 00:16:38 +00:00
phpnut
bd3e702d77
changed i18n schema to use only one db table for translations
...
changed fieldname 'row_id' to 'foreign_key'
now allows fallbacks for not-existing translations by setting model's locale to array of locales
model used for hasMany associations and for saving/deleting of translation records is configurable by Model::$translateModel property, db field 'i18n.field' is configurable by property $displayField of this custom model, instance of this model is obtainable by $this->ModelName->translateModel()
Added tests for translate behavior.
Added i18n shell script
Correcting translation function calls in various files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5669 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 04:16:04 +00:00
mariano.iglesias
e7b3d24e18
Fixing tests getting them ready for HABTM fix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5639 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 19:40:12 +00:00
mariano.iglesias
8fbc64fe85
Making all tests run
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5638 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 09:02:12 +00:00
mariano.iglesias
2aa2a35803
Fixing model tests to include auto-with model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5637 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 08:57:50 +00:00
mariano.iglesias
52093d3498
Fixing test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5635 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 07:10:21 +00:00
mariano.iglesias
d05a5d4804
Adding new failing test case to showcase problem with HABTM and belongsTo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 21:00:58 +00:00
phpnut
77a9e3dd22
Fixing fixtures.
...
Fixing setting of primaryKey when a model HABTM association is defined
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5614 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-03 04:48:58 +00:00
gwoo
92f9c81dfb
updating model test join classes so cache is not created
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5610 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 00:58:19 +00:00
gwoo
ae4ebec603
updating schema and tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5605 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 08:32:18 +00:00
phpnut
51418a07da
Fixing Model test that causes a fatal error on PHP > 5.1.6 and PHP 4.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5602 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 04:59:57 +00:00
phpnut
b8c31ae9f9
Adding additional tests for Ticket #2613
...
Adding test for Ticket #3152 , loadModel fails on second iteration of the same model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 04:38:48 +00:00
phpnut
fc3990cc87
Adding recursive level = 3 for Ticket #2613
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5600 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 03:06:40 +00:00
phpnut
f053eb7d26
Adding test for reopened Ticket #2613 .
...
Test proves the ticket comment that reopened it is invalid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5599 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 02:56:53 +00:00
phpnut
981c117ae6
Adding test case for correct usage of code given in Ticket #2960
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5598 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:18:48 +00:00
phpnut
62124094b1
Added test for Ticket #3098 .
...
Fixes #3098 , sql errors if ORDER BY includes compare statement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5597 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:02:21 +00:00
nate
3723885be3
Adding ACL node locator fix for AclNode::node() (Ticket #2976 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:16:49 +00:00
gwoo
0533bbd92c
updating schema reading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 03:59:21 +00:00
gwoo
8bb67d9f6a
Adding Schema support, updated fixtures, deprecated loadInfo, changed Dbo::describe in all dbos, fixed tests,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 21:46:59 +00:00
AD7six
59f3dfc427
Minor cleanup to tree test and fixture. No functional changes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 17:46:44 +00:00
gwoo
6c1a81eeb8
updating auth and db_acl test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5553 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 02:18:27 +00:00
mariano.iglesias
b4d77ddf8f
Fixing test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5543 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 20:27:55 +00:00
mariano.iglesias
f2d4894f73
Adding new test case to show failing inner associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5542 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 19:03:49 +00:00
nate
90567a286a
Moving named argument handling into Router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
nate
3e7044d4b8
Implementing prefix-based routing, and transitioning configuration away from global constants
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
nate
c3dc8cb827
Implementing automatic join models for HABTM associations, adding table prefix fix for Ticket #1965
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 23:12:24 +00:00
AD7six
3f1a49d1cf
Remove debug code included in previous commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5503 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-09 20:34:29 +00:00
AD7six
d2ae3940ce
Adding test cases for updated tree behavior
...
Tests added for
Ticket 3037 (moveUp moveDown do not work correctly with $number > 1)
Ticket 2991 (del returns false if the tree behavior is used)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5502 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-09 20:30:33 +00:00
nate
a03b688062
Adding DboSource quoting test cases for Ticket #2922
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5489 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 17:26:23 +00:00
nate
ad53804b60
Adding SQL function quoting fix in DboSource (Ticket #2987 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-29 12:21:41 +00:00
phpnut
8229587cfe
Adding fix for #2837 , dbo_source looping bug on parsing fields, can't use database function
...
Added test for #2837
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:29:37 +00:00
gwoo
16332140bf
updating most tests with fixes to coding standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:17:57 +00:00
mariano.iglesias
cd09a7c7dd
Adding option to group elements in Set::combine and making Model::generateList use Set::combine. Adding tests for Model::generateList and more tests for Set::combine
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-01 03:43:05 +00:00
mariano.iglesias
2c7f16d1f1
Adding tests for HABTM saving when parent data comes after HABTM data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5365 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 03:36:54 +00:00
mariano.iglesias
add4f3a961
Adding tests for HABTM saving, including saving HABTM data without any parent data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5364 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 03:27:47 +00:00
mariano.iglesias
36e207fa1f
Adding tests for del and deleteAll in Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5362 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 19:16:11 +00:00
mariano.iglesias
6adef29257
Adding a couple of tests to ensure proper parsing of GROUP BY queries
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5345 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 14:48:20 +00:00
phpnut
90299c0d0e
Removed extra slash in test paths.
...
Removed extra lines in files.
Corrected header in file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5340 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 05:56:36 +00:00
phpnut
b7ba57c8b1
Fixing TreeBehavior so tests will work on php 4.
...
Removing _ _METHOD_ _ from files since it is not valid on php 4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:16:33 +00:00
phpnut
15c8d5012e
adding CakeTestModel::cacheSources = false;
...
corrected the class that models defined in tree.test.php extend
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5336 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 21:02:46 +00:00
phpnut
ff01b3a031
Adding enhancement and tests from #2159
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5331 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 05:01:39 +00:00
phpnut
dac1bd0913
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
02d6c55d9f
Adding fix for Ticket #2635 , fixes Association data not correct if data is changed in afterFind()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5303 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 01:37:23 +00:00
nate
3dbf59ece3
Fixing substring quoting in DboSource::__quoteFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-12 15:13:53 +00:00
nate
6866ca42a0
Adding query conditions parenthesis fix for Ticket #2663
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-09 20:32:14 +00:00
nate
72f44d48af
Adding test case for Model::findAll() results modified in afterFind (disproves Ticket #2635 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5233 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 21:54:11 +00:00
mariano.iglesias
511af227f1
Adding tests to test usage of set() & save() for editing records
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 17:54:59 +00:00
mariano.iglesias
7a380cc0de
Adding tests for 'page' and 'offset' with hasMany bindings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5109 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 18:47:02 +00:00
mariano.iglesias
e4fb1372c5
Adding test that fails when using page + limit and offset + limit on a HABTM binding
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5108 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 18:19:56 +00:00
phpnut
9d02c911a6
Adding tests and fixes for #2570 , this corrects DboSource::conditions fails to quote mixed array/string conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5087 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:52:59 +00:00
phpnut
b42e908656
Adding patch from #2528 , fixes validation passing when even when allowEmpty === false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5010 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 07:13:15 +00:00
phpnut
137fea94c6
Cleaning up line endings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
mariano.iglesias
8982d82c0d
Adding option to send extra parameters to a custom validation and more tests for validation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4980 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 07:48:22 +00:00
phpnut
5cd13cff26
Adding additional tests for validation.
...
Added fix to model to pass the new tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4970 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 10:30:36 +00:00
mariano.iglesias
5317c80429
Restoring commented tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4966 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:04:44 +00:00
mariano.iglesias
d1687bbc06
Adding test to evaluate emptiness in validation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4965 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:03:53 +00:00
phpnut
d79f55c240
moving tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4962 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 02:40:36 +00:00
mariano.iglesias
e2d9935a26
Added variation for a field parsing test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4952 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:27:41 +00:00
mariano.iglesias
9451c58377
Adding test for field parsing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4951 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:24:13 +00:00
mariano.iglesias
01ce8392a4
Adding tests for #2506
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4950 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:03:13 +00:00
phpnut
5757d6b7e9
Adding fixes for test added in [4911] and [4912]
...
Fixed #2414 fixes findBy doesn't escape WHERE condition
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 05:37:39 +00:00
mariano.iglesias
6978359505
Adding more tests for #2414
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:24:47 +00:00
mariano.iglesias
5903e2226c
Adding tests for #2414
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4911 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:18:41 +00:00
mariano.iglesias
80e40d6910
Adding tests trying to replicate #2451 and more variations of fake threaded self join
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:25:57 +00:00
nate
5461eec22d
Adding fix for <> condition in DboSource (Ticket #2101 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4865 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 05:17:06 +00:00
mariano.iglesias
cf2abbed03
Added tests for issue #2391
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4843 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:27:16 +00:00
mariano.iglesias
4c7febfafa
Added tests for issue #2391
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4842 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:22:26 +00:00
nate
0c43266ba7
Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4833 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-10 16:48:45 +00:00
phpnut
8ed1b69b3f
Refactoring association joins, Fixes the issue with adding the Model.id if it is not already added.
...
Adding fix for string based fields.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4831 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 21:30:55 +00:00
mariano.iglesias
dd956694af
Adding tests to force foreignKey fields in hasMany
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4829 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:21:42 +00:00
mariano.iglesias
e9d7d60292
Adding tests for automatic addition of ids in hasMany
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4828 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:12:59 +00:00
phpnut
00be91c954
Adding first implementation of hasMany associations using one select statement.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4826 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 08:54:25 +00:00
phpnut
95e2782d72
Initial work on using one select statement for hasMany associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4824 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 04:00:04 +00:00
mariano.iglesias
0fbcd7f9a4
Fixed tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4817 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 19:51:20 +00:00
mariano.iglesias
81b473f2a3
Added test for conditions in binding
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4816 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 19:30:27 +00:00
mariano.iglesias
b151eda69e
Fixed test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4813 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:42:08 +00:00
phpnut
d0c8cde9ab
Adding fixes for test in [4811] fixes Ticket #1100
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4812 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:29:46 +00:00
mariano.iglesias
5e2d4167e3
Added tests for issue #1100
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4811 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 04:56:17 +00:00
phpnut
d5fa0a961b
Adding fixes for Ticket #2357 , Ticket #2358
...
Added tests from Ticket #2357 , Ticket #2358
Fixed failing DboSourceTest:
source:/branches/1.2.x.x/cake/tests/cases/libs/model/datasources/dbo_source.test.php@4778#L1080
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4801 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 11:15:45 +00:00
phpnut
1c6c32981e
Fixing [Only variable references should be returned by reference]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4778 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:47:01 +00:00
mariano.iglesias
003e30673e
Added test for combination of self joins and belongsTo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4773 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:04:55 +00:00
mariano.iglesias
a53e15ee51
Fixed test to used array based self join
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4771 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 03:40:08 +00:00
phpnut
f0cd2d49ea
Adding fix for to correct additional 1:1 associations failing to query when there is a self join association.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4770 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 03:31:46 +00:00
phpnut
ea144501ae
Fixing self association joins with conditions and fields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4767 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 00:47:17 +00:00
mariano.iglesias
ad2069af72
Fixed test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4766 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 00:07:30 +00:00
mariano.iglesias
6fe9f01c24
Fixed test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4765 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 00:05:57 +00:00
mariano.iglesias
5757d3b07b
Fixed tests to include parenthesis used in ON clauses
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4764 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 22:14:45 +00:00
phpnut
cc46c03f31
Adding fixes for association conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4763 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 21:40:59 +00:00
phpnut
da35cf3193
Adding fix for ModelTest::testRecursiveFindAll()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4761 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 19:55:57 +00:00
phpnut
46768f219e
Commenting debug code in model.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4760 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 18:24:17 +00:00
phpnut
49e58cec49
Adding fix for scaffold when using self associated HABTM
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 17:25:18 +00:00
gwoo
ed342c307d
fixing check in magic methods for a value otherwise it will return false adding test to dbosource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4746 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 05:43:31 +00:00
mariano.iglesias
94f57cef86
Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4738 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 23:09:56 +00:00
mariano.iglesias
a48f9cd908
Simplified failing test in model.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4737 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 16:15:44 +00:00
mariano.iglesias
2f5fa26e29
Simplified failing test in model.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4736 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 16:03:42 +00:00
nate
23fc1e8e53
Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:55:56 +00:00
mariano.iglesias
76efc2acbc
Fixed typo in function name
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:51:29 +00:00
mariano.iglesias
2a4fb7bc50
Identified line that allows bakery issue test to succeed
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4724 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:50:06 +00:00
mariano.iglesias
024fc47407
Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4723 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:40:18 +00:00
mariano.iglesias
4da63e762f
Added test for ticket #2321
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4721 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 20:49:26 +00:00
phpnut
3a62793d0e
Adding fix for Ticket #2232 .
...
Added tests for ticket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4714 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 00:08:10 +00:00
nate
381ec92b4c
Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:16:00 +00:00
nate
0c2b92a650
Fixing NOT operations in query conditions in DboSource (Ticket #2307 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 01:45:13 +00:00
nate
8b7f46acaa
Adding field quoting fix in DboSource::name() (Ticket #2300 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 00:53:37 +00:00
nate
51250a4e5d
Forcing SQL debug mode for model tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4688 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 02:22:35 +00:00
nate
dbbe90c22c
Fixing issue in DboSource with left joins on self joins
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4687 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 01:59:39 +00:00
nate
f2c7c5a677
Fixing calculated field parsing for DboSource::fields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 01:34:59 +00:00
nate
282bfbf4fc
Fixing SQL expression handling in Model::field() (TIcket #2283 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4684 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:38:54 +00:00
nate
bb2a68caec
Rewriting SQL generation for self-joins
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4679 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:16:43 +00:00
nate
f48b908ac6
Disabling ORDER BY clause for Model::findCount (Ticket #2227 ) and updating test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:17:15 +00:00
phpnut
3a4a49ef03
Adding changes to test suite submitted by Mariano
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4667 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 21:59:08 +00:00
nate
c65f2a1fd2
Fixing boolean conditions expression handling in DboSource::conditionKeysToString() and added test case (Ticket #2268 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:59:28 +00:00
nate
2a095d9ea6
Fixing redundant SQL condition generation in DboSource::conditionKeysToString(), fixing SQL ORDER parsing (Ticket #2266 ) and updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4644 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:26:42 +00:00
nate
3cb77b98c9
Adding conditions parsing test to disprove Ticket #2256
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4639 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:30:08 +00:00
nate
363ff0c9ab
Adding 1.2 regression test for escaping fields for Ticket #1372
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4638 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:24:03 +00:00
nate
5197bf60d3
Updating DboSource with new query generator, and updating model/dbo test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4636 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-20 17:38:53 +00:00
nate
dba900eb30
Updating model test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4632 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 21:37:22 +00:00
nate
97396819cc
Updating model test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4631 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 19:15:41 +00:00
nate
222d19a43a
Adding Model::create() fix for Ticket #2200 and updating test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 00:24:33 +00:00
nate
116b330503
Updating core test cases and groups
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4625 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:35:25 +00:00
nate
36076a15e1
Disabling tests for new DboSource so they pass on old DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4606 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-10 01:01:37 +00:00
nate
8a025938b5
Adding tests for DboSource and AjaxHelper, and fixing code formatting in XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:16:35 +00:00
phpnut
9f7024d513
Fixing tests for DboSource after changes made to remove extra white spaces
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4447 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 17:56:17 +00:00
phpnut
578073b91d
Updating test suite
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4445 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 09:06:44 +00:00
phpnut
1a391e4d2c
Updating test suite
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4443 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 07:42:35 +00:00
phpnut
0997bea85c
Updating html for test suite.
...
Added error page when SimpleTest is not installed.
Fixed model.test.php failing on PHP 4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 04:38:42 +00:00
phpnut
4c25103751
Moving to include tests and test suite in the 1.2.x.x core releases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 22:20:13 +00:00