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
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
Benjamin Eberlei
b40866c624
[DDC-2775] cleanup test.
2014-01-02 23:11:07 +01:00
Matthieu Napoli
a89cc7abea
Inlined the model for the DCC2775 test case inside the test class
2014-01-02 23:07:53 +01:00
Matthieu Napoli
5ac111e5f8
Cleaned up tests for DDC-2775
2014-01-02 23:07:53 +01:00
Matthieu Napoli
65bcdbf4c7
[DDC-2775] Tests reproducing DDC-2775
2014-01-02 23:07:53 +01:00
Stefan Kleff
3657df3b01
Listener class prefix
2014-01-02 22:16:59 +01:00
Stefan Kleff
1661ffae9a
removed unused use statements, fixed typo and group tag
2014-01-02 22:16:59 +01:00
Stefan Kleff
b424a5cf14
Added unit test
2014-01-02 22:16:59 +01:00
Aaron Muylaert
da2d3b406e
Create failing test for DDC-2645.
...
Merge not dealing correctly with composite primary keys.
2013-12-15 23:34:34 +01:00
jan brunnert
192bb6fd21
When the OptimisticLockingException is generated with the static function lockFailedVersionMismatch and the passed parameters are DateTime instances, the exception could not be thrown because the DateTime object is not implicitly converted to a string.
2013-10-29 09:24:52 +01:00
Chris Collins
b983d86612
Added a failing test case for DDC-2759.
2013-10-26 11:16:53 +02:00
Benjamin Eberlei
3cc5fc0252
[DDC-2660] Fix error with NativeSQL, ResultSetMappingBuilder and Associations as Primary Key.
2013-09-08 14:39:25 +02:00
Benjamin Eberlei
159ca79b81
Merge origin/2.4 into local branch
2013-09-07 08:55:15 +02:00
Benjamin Eberlei
2b148a27e0
Merge Oracle test fixes to 2.4 branch
2013-09-07 08:54:23 +02:00
Guilherme Blanco
0aef57f60c
Fixing missing table aliases when using Many2Many persister.
2013-08-26 10:29:45 -04:00
Fabio B. Silva
e250572cb4
fix DDC-2579
2013-08-10 17:53:50 +02:00
Guilherme Blanco
3f1003fee9
Fixed DDC-1884.
2013-08-10 17:48:03 +02:00
Roger Llopart Pla
6a73608baf
Fixed name colision.
2013-08-10 17:02:10 +02:00
Roger Llopart Pla
f9955152b2
Added a test which verifies that the tree walkers are kept.
2013-08-10 17:02:10 +02:00
Sander Marechal
06ed21e883
Remove extra-lazy-get for ManyToMany relation
2013-06-27 14:19:39 +02:00
Benjamin Eberlei
a91050e7f4
[DDC-2350] Eager Collections are not marked as initialized, leading to multiple queries being executed.
2013-06-25 19:34:12 +02:00
Fabio B. Silva
1cff8b4d98
Fix DDC-2519
2013-06-21 16:07:09 -04:00
Sander Marechal
70427871ce
Extra test for indexBy identifier versus indexBy other fields
2013-06-20 14:20:00 +02:00
Sander Marechal
3b92cfac5a
Use find() if the indexBy field is the identifier
2013-06-20 13:45:38 +02:00
Sander Marechal
647c5e2cad
Test actual data returned by get()
2013-06-20 10:18:08 +02:00
Sander Marechal
3555007f08
Return NULL for non-existent keys
...
The load() function already returns just one entity or NULL, so
the current() is not needed and the result can be returned directly.
2013-06-20 10:09:52 +02:00
Sander Marechal
523697d0b6
[DDC-1398] Extra-lazy get for indexed associations
...
If an association is EXTRA_LAZY and has an indexBy, then
you can call get() without loading the entire collection.
2013-06-20 09:29:56 +02:00
Guilherme Blanco
7903a2b513
Merge pull request #695 from doctrine/RepositoryFactory
...
Implemented support for RepositoryFactory.
2013-06-14 09:19:43 -07:00
Guilherme Blanco
7eb744126b
Implemented support for RepositoryFactory.
2013-06-13 21:47:40 -04:00
Fabio B. Silva
f16c8e3efe
Fix DDC-2478
2013-06-13 16:44:02 -04:00
Marco Pivetta
a1355d0bb9
Adding failing test for DDC-2214
...
Parameters being bound to an SQL query should have the same type as
the identifier of the objects being bound to the placeholders of a
DQL query - this is currently broken with proxies, as this test
demonstrates.
2013-06-12 20:51:45 +02:00
Fabio B. Silva
d961028b14
small optimization
2013-06-12 10:30:51 -04:00
Fabio B. Silva
d685f592fe
Fix DDC-2494
2013-06-12 10:30:51 -04:00
Guilherme Blanco
b15758bb42
DDC-2476 Commented check under PostgreSQL.
2013-06-12 02:29:08 -04:00
Guilherme Blanco
3d86c82a7f
DDC-2476 Better approach for reverse engineer. Some refactoring done to driver.
2013-06-12 02:00:36 -04:00
Fabio B. Silva
710d0d1109
Fix DDC-1995
2013-06-07 17:24:05 -04:00
Alexander
66a842c143
[DDC-2471] Fix EQ/NEQ null handling of criteria
2013-05-26 09:04:19 +02:00
Benjamin Eberlei
eb1a162cbc
Fix regression in DDC-2430.
2013-05-10 23:31:27 +02:00
Benjamin Eberlei
bf9673203c
Merge pull request #639 from goetas/indexby-metadata
...
Added abillity to use metacolumn as indexBy
2013-05-09 23:53:26 -07:00
Benjamin Eberlei
6d5afb18bc
[DDC-2430] Prevent Criteria queries using the ID of an assocation on PersistentCollections, as the in-memory ArrayCollection does not work with this kind of query. Attention this is a BC-BREAK, that is necessary to fix potentially very hard to debug bugs. Therefore it is not merged back into 2.3
2013-05-09 13:24:36 +02:00
Benjamin Eberlei
7220c3c125
[DDC-2387] Fix DatabaseDriver not working with combinations of composite/association keys.
2013-05-09 12:10:37 +02:00