Marco Pivetta
91e5c0d443
Merge pull request #1231 from aivus/2.4-DDC-1590-backport
...
Backport 'Merge pull request #1098 from encoder32/DDC-1590' to 2.4 branch
2015-01-17 22:19:29 +01:00
Marco Pivetta
05342b0b94
Merge pull request #1254 from vitaliyberdylo/2.4
...
Fix applying ON/WITH conditions to first join in Class Table Inheritance
2015-01-17 21:56:32 +01:00
lukasmaz
ddf3125afe
Test case for "class" keyword
...
Test case for http://www.doctrine-project.org/jira/browse/DDC-3493
2015-01-15 04:19:54 +01:00
Strate
8d33ccced1
Fix applying ON/WITH conditions to first join in Class Table Inheritance
...
Now we build nested joins for CTI when using ON/WITH clause.
2015-01-14 19:55:54 +02:00
Carnage
4e4637de2e
Added test to demonstrate issue
2015-01-13 02:35:44 +01:00
Marco Pivetta
4c8abd5d83
Backport 'Merge pull request #1098 from encoder32/DDC-1590' to 2.4 branch
2014-12-26 15:56:01 +02:00
Marco Pivetta
a5a7c879fc
#1202 - simplified test and test asset
2014-12-08 01:38:38 +01:00
Gareth Evans
5670912d0d
Added test that passes following previous commit
2014-12-08 01:38:31 +01:00
Marco Pivetta
4d846c1992
DDC-3434 - removing explicit failure: 2.4 uses different column alias naming strategy logic
2014-12-05 18:11:44 +01:00
Marco Pivetta
f31f088f0b
DDC-3434 - adding test case for HIDDEN
modifier fields in ORDER BY
sequences: should be preserved in any case
2014-12-05 18:07:35 +01:00
Marco Pivetta
51da937bbc
DDC-3434 - removed unneeded escaping sequences
2014-12-05 18:07:30 +01:00
Marco Pivetta
f0e6408005
DDC-3336 - removing explicit failure: 2.4 uses different column alias naming strategy logic
2014-12-05 17:29:18 +01:00
Marco Pivetta
34fad084a7
DDC-3336 - adding missing type-hint docblock
2014-12-05 16:45:50 +01:00
Marco Pivetta
bdc54d481c
DDC-3336 - renamed test method for clarity
2014-12-05 16:45:44 +01:00
Marco Pivetta
60462919f2
DDC-3336 - adding failing test case: scalar expressions in the ORDER BY
clause crash the LimitSubqueryOutputWalker
2014-12-05 16:45:39 +01:00
Marco Pivetta
5a8a017a66
DDC-3336 - importing platform classes
2014-12-05 16:45:31 +01:00
Marco Pivetta
78770f9da8
#1188 - assertCount
instead of assertEquals
2014-11-28 12:16:05 +01:00
Marco Pivetta
2f57c4fef9
#1188 - minor CS fixes (avoiding DQL one-liner)
2014-11-28 12:15:53 +01:00
Marco Pivetta
684ae859ce
#1188 - accessing Doctrine\ORM\Tools\Pagination\Paginator#getCountQuery()
via reflection for test purposes
2014-11-28 12:15:46 +01:00
Merixstudio
7c02af8896
Filtering by auto-increnement field causes test error.
...
Executing the same test many times causes error because AI fields.
2014-11-28 12:15:07 +01:00
Merixstudio
61c18ce046
Testing SQLs in functional test is not necessary
2014-11-28 12:14:49 +01:00
Merixstudio
7f5620a41c
Test parameter removing parameters passed to select part of query.
2014-11-28 12:14:40 +01:00
Marco Pivetta
cfdef3bf19
Merge pull request #925 from deeky666/DDC-2310-2.4
...
[DDC-2310] [DDC-2675] [2.4] Fix SQL generation on table lock hint capable platforms
2014-11-12 00:31:13 +01:00
Marco Pivetta
8fc1c34b29
DDC-3120 - metadata should be waked up before attempting new instance creation
2014-10-06 14:25:16 +02:00
Marco Pivetta
0d683c1897
DDC-3120 - metadata should be initialized before attempting new instance creation
2014-10-06 14:22:06 +02:00
Marco Pivetta
60b75fefed
DDC-3120 - add failing test for un-serialization of an internal PHP class from cached metadata instance
2014-10-06 14:13:40 +02:00
Marco Pivetta
0a7e0617cc
DDC-3120 - add failing test for un-serialization of an internal PHP class
2014-10-06 14:13:32 +02:00
Marco Pivetta
42226dadd1
DDC-3208 - hotfix for DDC-3160 backported to 2.4.x
2014-07-11 04:49:30 +02:00
Marco Pivetta
8b5632cb65
The proxy factory always expects non-null identifier values
2014-06-10 13:48:35 +02:00
Steve Müller
0fb236f451
fix SQL generation on table lock hint capable platforms
2014-04-17 15:07:11 +02:00
Frank Liepert
0081319712
[DDC-3076] Add/Improve tests
2014-04-17 00:03:11 +02:00
Frank Liepert
1f4810e370
[DDC-3076] Add test
2014-04-17 00:03:11 +02:00
Guilherme Blanco
2ae245db30
Fixes DDC-2984. Made DDC-742 more resilient to recurring failures.
2014-04-16 23:41:53 +02:00
Benjamin Eberlei
9d36e855c0
Disable SQLServer platform related test, because of a wrong merge into 2.4
2014-03-23 16:38:05 +01:00
Benjamin Eberlei
0262b083bb
[DDC-3018] Fix string literals in new operator.
2014-03-23 15:17:47 +01:00
Benjamin Eberlei
8b75e3563a
[DDC-2996] Fix bug in UnitOfWork#recomputeSingleEntityChangeSet
...
When calling UnitOfWork#recomputeSingleEntityChangeSet on an entity
that didn't have a changeset before, the computation was ignored.
This method however is suggested to be used in "onFlush" and "preFlush"
events in the documentation.
Also fix a bug where recomputeSingleEntityChangeSet was used
before calculating a real changeset for an object.
2014-03-23 13:19:22 +01:00
Benjamin Eberlei
55b7e4cff2
[DDC-3033] Fix bug in UnitOfWork#recomputeSingleEntityChangeSet.
...
The fix for DDC-2624 had a side effect on recomputation of
changesets in preUpdate events. The method wasn't adjusted
to the changes in its sister method computeChangeSet() and
had wrong assumptions about the computation.
Especially:
1. Collections have to be skipped
2. Comparison was changed to strict equality only.
2014-03-23 12:38:51 +01:00
Thomas Lallement
e38af55100
Update DDC3033Test.php
2014-03-23 12:38:51 +01:00
Thomas Lallement
7338c2d1f8
Update DDC3033Test.php
2014-03-23 12:38:51 +01:00
Thomas Lallement
0ff3cdf150
Failing Test (since commit 53a5a48aed7d87aa1533c0bcbd72e41b686527d8)
...
Hi,
It seems to be a regression since the commit 53a5a48aed
Doctrine\ORM\PersistentCollection can be populated in $changeSet if you set a PreUpdate and PostUpdate event.
Original issue: http://www.doctrine-project.org/jira/browse/DDC-3033
2014-03-23 12:38:51 +01:00
Menno Holtkamp
6bb367f488
Added test to ensure boolean metadata is properly exported/serialized to XML
2014-03-23 10:16:43 +01:00
Benjamin Eberlei
b9c6659b70
Fix tests in 2.4 branch
2014-02-09 14:29:45 +01:00
Benjamin Eberlei
5c06121d94
[DDC-2624] Fix bug when persistent collection is cloned and used in a new entity.
2014-02-09 14:27:54 +01:00
Geoffrey Wagner
d9b0c87ded
Fix some code standard things
2014-02-08 16:01:41 +01:00
Geoffrey Wagner
8594e5c4da
Add a test
...
addLifecycleCallback now only allows a callback once so we do not hook them twice
2014-02-08 16:01:41 +01:00
Marco Pivetta
b596bbb29f
DDC-2931 - adding test that verifies that fetch-joined entities get refreshed with hints
2014-02-08 15:52:46 +01:00
Marco Pivetta
c204e6c6a1
DDC-2931 - removing old comments
2014-02-08 15:52:46 +01:00
Marco Pivetta
f37856829f
DDC-2931 - Detailed explanation
2014-02-08 15:52:45 +01:00
Marco Pivetta
157c793810
DDC-2931 - cleaning up code formatting/simplifying test case
2014-02-08 15:52:45 +01:00
root
72d838a804
[DDC-2931] testcase to reproduce Jira 2931
2014-02-08 15:52:45 +01:00