mariano.iglesias
|
9b57b59c28
|
Specifying an array of IDs in second model data to replicate #3455
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5896 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 22:08:19 +00:00 |
|
phpnut
|
7b914bab9f
|
Correcting tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5893 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 17:04:14 +00:00 |
|
mariano.iglesias
|
6591c8f79b
|
Adding test for #3455 replicating issue, Secondary model array in model data causes corruption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5892 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 16:29:50 +00:00 |
|
mariano.iglesias
|
34a7d667db
|
Adding secondary data for testCreationWithMultipleDataSameModel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5891 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 16:17:53 +00:00 |
|
mariano.iglesias
|
ec76d6aac3
|
Changing names for instance vars in test added for #3455
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5890 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 16:10:20 +00:00 |
|
mariano.iglesias
|
28b7fb5653
|
Reenabling disabled tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5889 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 16:07:36 +00:00 |
|
mariano.iglesias
|
8b7e01552c
|
Adding another test for #3455, Secondary model array in model data causes corruption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5888 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 16:06:00 +00:00 |
|
mariano.iglesias
|
304bc01a9d
|
Adding test for #3455, secondary model array in model data causes corruption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5884 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-24 03:32:34 +00:00 |
|
nate
|
076f780ed6
|
Updating Model::findNeighbours() to allow array conditions and field lists (Ticket #1176 and Ticket #3231)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5880 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-23 13:41:25 +00:00 |
|
phpnut
|
cb6a38abaf
|
Fixes #3430, Query broken when model having associations linked to model has same alias to a different model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5871 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-22 22:58:38 +00:00 |
|
phpnut
|
89185ace25
|
Adding ClassRegistry::flush() to reset the registry
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5868 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-22 20:58:55 +00:00 |
|
mariano.iglesias
|
aaca183da1
|
Adding test case for #3430, where different belongsTo bindings that use same class but different alias name in various models would break under certain circumstances
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5865 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-22 20:20:48 +00:00 |
|
phpnut
|
7ca924d661
|
Closes #3362, Changed self associated models so they no longer reference the single instance of the original model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5845 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-22 02:11:58 +00:00 |
|
phpnut
|
d923ffbd94
|
Reverting changes made to model.test.php in [5822]
Reverting changes made to model.php in [5815]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5827 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-21 03:44:26 +00:00 |
|
mariano.iglesias
|
cfc6a21316
|
Adding test that thows failing behavior with null values when calling Model::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5822 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-20 21:09:24 +00:00 |
|
phpnut
|
7ebb27fccc
|
Fixes #2982, TreeBehavior::verify, non-portable SQL, badly quoted conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5806 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-19 21:43:48 +00:00 |
|
phpnut
|
5cb63a6460
|
Fixes #3418, Model throws warnings when trying to save an empty array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5804 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-19 21:05:34 +00:00 |
|
phpnut
|
34380bf243
|
Fixes #3411, failing test when $data has more than one models data.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5789 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-19 03:33:19 +00:00 |
|
phpnut
|
a207a95893
|
Fixes #3187 and #3230, Model -> save issue with fieldList and id
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5781 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-17 21:19:30 +00:00 |
|
gwoo
|
356fd587cd
|
updating exists, fixes #3368, test added. thank you maular
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5733 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-08 17:43:14 +00:00 |
|
gwoo
|
2ef118c3c4
|
replacing define CACHE_CHECK with Configure Cache.check, updating Model::exists()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5707 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-10-01 16:49:37 +00:00 |
|
phpnut
|
0f1de003c6
|
Fixes #3215, UserDefined Validation broken.
Added test for Validation::userDefined()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5679 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2007-09-21 00:42:34 +00:00 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|