Fabio B. Silva
710d0d1109
Fix DDC-1995
2013-06-07 17:24:05 -04: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
7220c3c125
[DDC-2387] Fix DatabaseDriver not working with combinations of composite/association keys.
2013-05-09 12:10:37 +02:00
Benjamin Eberlei
0864ab8ada
[DDC-1998] Pass types to Connection#delete() to allow custom conversions to happen.
2013-05-01 20:30:45 +02:00
Benjamin Eberlei
640a8e58c7
[DDC-2106] Fix entity as parameter value when its managed but not yet with identifier.
2013-05-01 18:46:41 +02:00
Asmir Mustafic
34adb16ee8
indexby ddc117 tests
2013-04-29 10:29:58 +02:00
Fabio B. Silva
5cdc73e13b
Fix DDC-2409
2013-04-28 16:54:44 -03:00
Fabio B. Silva
7c2da2d5b8
Fix DDC-2415
2013-04-26 16:11:04 -03:00
Benjamin Eberlei
52b2e066c5
Merge pull request #611 from stefankleff/fix-eagerloading
...
Fixed typo in hints. Caused slow loading of eager entities.
2013-04-14 00:43:42 -07:00
Benjamin Eberlei
cef20890dc
Merge pull request #616 from FabioBatSilva/DDC-2252
...
[DDC-2252] Fix delete many-to-many composite key
2013-04-06 10:37:16 -07:00
Marco Pivetta
57020322cb
Adding failing test for DDC-2359
...
Doctrine\ORM\Mapping\ClassMetadataFactory#wakeupReflection is called twice
2013-03-24 19:40:53 +01:00
Fabio B. Silva
39ea24675d
Fix DDC-2090
2013-03-17 16:59:33 -03:00
Fabio B. Silva
1effd38043
Fix DDC-2252
2013-03-16 01:15:54 -03:00
Benjamin Eberlei
559303430a
[DDC-1666] Fix bug where orphan removal on one-to-one associations lead to unique constraint errors when replacing an entity with a new one.
2013-03-14 23:41:31 +01:00
Stefan Kleff
057e86eb27
Added test based on e468ced00b
2013-03-13 12:29:17 +01:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Guilherme Blanco
d5dd7d6f8a
Merge pull request #589 from Ocramius/hotfix/DDC-2230
...
Hotfix for DDC-2230
2013-02-25 21:59:04 -08:00
Marco Pivetta
350fa4f15b
Applying fix for failing test for DDC-2230
2013-02-23 01:45:40 +01:00
Marco Pivetta
be24439e2f
Adding failing test for DDC-2230
...
Proxies that implement the Doctrine\Common\PropertyChangedListener are getting eagerly
initialized because the UnitOfWork injects itself into them after they are created.
The test currently fails for what described above, and also verifies if the UoW
is correctly injected in the proxy during lazy loading.
2013-02-23 01:44:58 +01:00
Marco Pivetta
d8dd5129e7
Failing test for DDC-2306
...
As of DDC-1734, proxies should have null identifier when the UnitOFWork
refreshes entities and replaces them (marking them as un-managed).
The problem here is that refreshes on entities with same identifier
but different type are still considered same, and the UnitOfWork discards
the proxy instance instead of ignoring it.
2013-02-21 02:21:06 +01:00
Marco Pivetta
a58d4ae462
Cleaning up logic of the proxy factory by moving closure generation to own private methods
2013-02-14 10:52:13 +01:00
Marco Pivetta
271f5cf033
Adding fix and tests for DDC-1734
2013-02-14 09:57:12 +01:00
Benjamin Eberlei
35fda90473
Merge pull request #570 from Ocramius/cleanup/submodules-removal
...
Deprecation of PEAR/GIT/TAR autoloading
2013-02-14 00:55:08 -08:00
Benjamin Eberlei
3d9cb9460a
Fix test failing when memcache extension is installed, but memcache server isnt.
2013-02-13 08:46:37 +01:00
Marco Pivetta
673323fc67
Adding warnings about deprecation of GIT, TAR and PEAR autoloading
2013-02-04 23:30:02 +01:00
Benjamin Eberlei
71a68a5c6f
Merge pull request #423 from FabioBatSilva/DDC-1955
...
DDC-1955 - @EntityListeners
2013-02-02 11:47:46 -08:00
Fabio B. Silva
c6adcda567
give event to lifecycle callbacks
2013-01-29 12:14:52 -02:00
Szczepan Cieślik
92ada246b5
[DDC-2256] Code improvements.
2013-01-26 09:09:21 +01:00
Szczepan Cieślik
d7f82221d1
[DDC-2256] Moved aliases translation to ResultSetMapping, fixed tests.
2013-01-25 12:06:13 +01:00
Szczepan Cieślik
1949ff8602
[DDC-2256] Added test for hydrator.
2013-01-24 23:10:50 +01:00
Benjamin Eberlei
5298c03fce
[DDC-2246] Fix bug with UnitOfWork#getEntityState() and entities with foreign identifier.
2013-01-20 20:11:08 +01:00
Benjamin Eberlei
3ccbbcb0b5
DDC-2231 - Simplify test
2013-01-12 10:29:11 +01:00
Stefan Kleff
6032e3efd8
Added test
2013-01-10 16:10:29 +01:00
Benjamin Eberlei
e2c1ff1a48
[DDC-2175] Fix bug in JoinedSubclassPersister
2012-12-24 10:39:23 +01:00
Patrick Schwisow
bc6921504a
[DDC-1690] Created unit test
2012-12-21 14:32:10 -06:00
Francis Besset
657a54da84
Passed column options to the join column
2012-12-04 12:26:40 +01:00
Jan Kramer
9b78100378
[DDC-2074] Added test for PersistentCollection#clear.
2012-11-25 19:27:24 +01:00
Benjamin Eberlei
5e2a433828
Inlined Test and Entities into DDC2138Test
2012-11-12 14:59:48 +01:00
Fabio B. Silva
62f43e6ea2
remove require_once
2012-11-05 22:23:44 -02:00
Fabio B. Silva
a09a5b9b7b
Fix DDC-2084
2012-11-05 22:23:44 -02:00
Fabio B. Silva
5cb4466f7c
Fix test case
2012-09-30 15:47:00 -03:00
Fabio B. Silva
4510f5a5b8
Fix DDC-2012
2012-09-30 15:40:19 -03:00
Benjamin Eberlei
bc2476f342
[DDC-1918] Fix weird results at the end of paginator when using fetch joins
2012-08-29 15:16:07 +02:00
Benjamin Eberlei
7c1235dedb
[DDC-1964] Fix issue with refresh and and object hydrator not setting field to null explicitly to override possible previous values.
2012-07-29 11:25:45 +02:00
Marco Pivetta
5b3eee8071
DDC-1925 - squashing ticket tests into a single file
2012-07-20 00:03:39 +02:00
Marco Pivetta
81f97e92d3
Adding tests for DDC-1925
2012-07-19 22:00:56 +02:00
Benjamin Eberlei
3783ca6b43
[DDC-1707] Working testcase
2012-07-07 17:15:32 +02:00
Fabio B. Silva
632d13ba0c
fix extra lazy count
2012-07-04 17:11:43 -03:00
Fabio B. Silva
fe11831bd7
test remove item and clear collection
2012-07-04 17:11:43 -03:00
Fabio B. Silva
076663fe3a
fix DDC-1885 in persisters
2012-07-04 17:11:42 -03:00