Guilherme Blanco
3bb803fd69
Cherry picked FabioBatSilva upgrade of Common lib.
2011-09-13 00:59:24 -03:00
Fabio B. Silva
3707b34cbb
Change repository type for EntityRepository
2011-09-08 17:21:06 -03:00
Fabio B. Silva
43ccd9ead6
tests for DDC-753
2011-09-08 15:54:49 -03:00
Guilherme Blanco
bd5393a318
Added coverage for orphanRemoval in OneToOne when unlinking an entity.
2011-09-07 13:12:02 -03:00
Guilherme Blanco
2cfc61db84
Fixed bug with orphanRemoval not removing associated Entity on OneToMany and OneToOne relationships. As defined in ClassMatedataInfo, in these situations, when orphanRemoval=true, cascade=remove is implicit. This fixes DDC-1321.
2011-09-06 01:58:16 -03:00
Guilherme Blanco
3b3186ee98
Added support to user provide an array of Entities as a DQL parameter. Fixes DDC-1356.
2011-09-01 19:11:57 -03:00
Guilherme Blanco
12f46e936c
Merge branch 'master' of github.com:doctrine/doctrine2
2011-08-28 13:48:24 -03:00
Guilherme Blanco
e7f471ef3e
Fixed issue with CTI during DQL update that was incorrectly setting parameter types during multi table execution. Fixes DDC-1341.
2011-08-28 13:48:15 -03:00
Benjamin Eberlei
b145f061c9
DDC-1348 - Fix bug with UnitOfWork::getEntityState()
2011-08-28 15:58:08 +02:00
Benjamin Eberlei
e6a73803a4
Merge branch 'DDC-1306'
2011-08-27 20:44:15 +02:00
Benjamin Eberlei
3b4b38e184
DDC-1306, DDC-1113 - Fix issues with inheritance and commit order
2011-08-27 20:41:52 +02:00
Benjamin Eberlei
8c2db89f2b
DDC-1340 - Fix bug with merge() and optimistic lock exception
2011-08-21 15:01:57 +02:00
Guilherme Blanco
6857134f36
Fixed issue with duplicated commas if Entity has no fields.
2011-08-15 12:47:17 -03:00
Guilherme Blanco
63a2f02f4d
[DDC-408][DDC-1150][DDC-1277] Implemented support to parameter expanding on associations.
2011-08-13 21:28:54 -03:00
Benjamin Eberlei
bcc7bb1c9c
DDC-1300 - Fix bug in fetch join hydration of entities with foreign key identifier
2011-08-06 20:25:45 +02:00
Benjamin Eberlei
5c47c07794
Merge pull request #97 from asm89/DDC-1301
...
[DDC-1301] Fixed count() for fetch="EXTRA_LAZY" on OneToMany association
2011-07-28 14:26:15 -07:00
Benjamin Eberlei
8f589e5876
Merge pull request #92 from mridgway/DDC-1275
...
DDC-1275: Added join columns to result set mapping
2011-07-28 14:18:55 -07:00
Alexander
d439f67df5
[DDC-1301] Prefixed all Legacy models properties with _
2011-07-28 12:25:23 +02:00
Alexander
b2951691e2
[DDC-1301] Added tests for fetch="EXTRA_LAZY" count() on a "legacy" database
2011-07-28 11:01:28 +02:00
Michael Ridgway
7f20a32db3
Removing debug comment
2011-07-26 17:39:57 -04:00
Michael Ridgway
154fd60d85
DDC-1275: Added join columns to result set mapping
2011-07-26 17:35:06 -04:00
Benjamin Eberlei
57cfcfd20e
Merge pull request #79 from mridgway/DDC-725
...
[DDC-725] Removed onUpdate property on join columns
2011-07-26 14:14:30 -07:00
Benjamin Eberlei
79d99b11ad
Merge pull request #91 from kwiateusz/UnitTestsUpdate
...
Removed deprecated assertType (thanks @kwiateusz)
2011-07-26 14:03:04 -07:00
Benjamin Eberlei
a99ffc126f
DDC-1276 - Fix bug where merge managed and new entitiy share the same collection that is cascaded, cleared during the process and then empty afterwards.
2011-07-26 22:15:27 +02:00
kwiateusz
7261060905
Few more converts from assertTrue($a instance of $b) to assertInstanceOf
2011-07-26 15:22:57 +02:00
kwiateusz
1ea3e543ab
Correted indentation and variable name
2011-07-26 12:10:30 +02:00
kwiateusz
49c735109c
Change from assertType to assertInstanceOf.
...
Now PHPUnit doesn't show warning about deprecation of assertType.
Also some refractoring from assertTrue($a instanceof $b) to assertInstanceOf.
Leading \ in namespaces is not required so I removed it from few assertions.
2011-07-26 11:38:09 +02:00
Benjamin Eberlei
5733574867
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-12 22:47:33 +02:00
Benjamin Eberlei
c261315ea7
DDC-1250 - Fix bug with inverse one to one loading and ambigious column names in certain scenarios
2011-07-09 22:11:49 +02:00
Benjamin Eberlei
2b207106a3
DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork
2011-07-09 12:12:44 +02:00
Benjamin Eberlei
2858b8290f
DDC-1238 - Fixed a bug introduced when refactoring persisters hydration. This occurs when you call $em->clear() and you start accessing a proxy.
2011-07-04 23:19:08 +02:00
Benjamin Eberlei
a638154046
Update tests
2011-07-04 20:59:46 +02:00
Benjamin Eberlei
a947e8a4b0
DDC-1238 - Reproducible case, its correct through
2011-07-04 20:59:46 +02:00
Benjamin Eberlei
8e7c156451
Started trying to reproduce this issue
2011-07-04 20:59:46 +02:00
Michael Ridgway
9ae30421dd
Removed onUpdate property on join columns
2011-06-28 15:50:14 -04:00
Benjamin Eberlei
551f6d05d9
DDC-1230 - Fix bug where UnitOfWork does not set STATE_REMOVE when calling EntityManager#remove() on an entity
2011-06-28 21:37:53 +02:00
Benjamin Eberlei
52431251cb
Fix some of the problems with Oracle testsuite
2011-06-26 17:20:03 +02:00
Benjamin Eberlei
a73a1e8437
DDC-1226, DDC-1228 - Bugfix with refereshing proxy references not setting the originalEntityData.
2011-06-25 14:38:44 +02:00
Guilherme Blanco
db80b2b135
Fixed phpunit tests which was failing due to a duplicate use declaration.
2011-06-21 12:38:08 -03:00
Benjamin Eberlei
82f0c244e8
DDC-1189 - Bugfix with PersistentCollection#clear() in combination with lazy loading
2011-06-19 09:39:34 +02:00
Benjamin Eberlei
fa7574b2ba
Removed AllTests files and Suites
2011-06-18 22:49:25 +02:00
Benjamin Eberlei
32b146ea8a
Switch testsuite to run with phpunit.ini.dist from main folder, not using AllTests approach. Fixed global state problem in tests that was caused by EventManager being reused. Significantly enhanced error message about cascade persist
2011-06-18 22:47:21 +02:00
Benjamin Eberlei
713f4654fd
Merge remote-tracking branch 'origin/master'
2011-06-16 22:49:29 +02:00
Benjamin Eberlei
42c5382a03
DDC-1172 - Handle sequence dropping in SchemaTool.
2011-06-16 22:34:04 +02:00
Michael Ridgway
d1106a730b
Made DDC-1209 test pass
2011-06-16 08:55:09 -04:00
Michael Ridgway
da2d83fc7d
DDC-1209 tests
2011-06-15 17:15:46 -04:00
Benjamin Eberlei
4371e8fab0
DDC-1163 - Fix nasty bug with inheritance in UnitOfWork::executeUpdates() and executeRemovals()
2011-06-05 16:21:23 +02:00
Benjamin Eberlei
d3ab9b51fa
DDC-1181 - Add test that verifies cascade remove works for entities with foreign identifiers
2011-06-05 13:57:44 +02:00
Benjamin Eberlei
acaf08d4b7
DDC-1193 - Fix bug with cascade remove and proxy classes.
2011-06-05 09:59:16 +02:00
Benjamin Eberlei
875912bffd
DDC-733 - Add UnitOfWork::initializeObject() method.
2011-06-05 08:44:38 +02:00