Chris Collins
7249804e3f
Added a failing test case for DDC-2759.
2013-10-24 13:02:42 +01:00
David Stensland
089006927e
[DDC-2655] Don't let getOneOrNullResult throw NoResultException
2013-10-09 11:38:33 -04:00
Guilherme Blanco
ded3d20630
Merge pull request #787 from flip111/patch-1
...
Update DDC719Test.php to be compatible with MsSQL
2013-10-07 11:22:14 -07:00
fabios
dd4bdd776a
Fix DDC-1514 test
2013-10-01 12:00:52 -04:00
flip111
4282fa4787
Used ternary operator to reduce LOC
2013-10-01 17:25:49 +02:00
flip111
67dd32d9fb
A nicer way of detecting the platform
...
Inspired by https://github.com/doctrine/doctrine2/blob/master/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php#L188
2013-09-13 16:35:34 +02:00
flip111
a190dad0b1
Update DDC719Test.php to be compatible with MsSQL
...
Apparently Doctrine adds "with (nolock)" now for the mssql platform, but the test has not been updated yet.
2013-09-13 15:11:35 +02:00
Benjamin Eberlei
5c2157219d
[DDC-2660] Fix error with NativeSQL, ResultSetMappingBuilder and Associations as Primary Key.
2013-09-08 14:38:59 +02:00
Benjamin Eberlei
490b501679
Fix tests running against Oracle not comparing SQL case-insenstive
2013-09-07 08:52:50 +02:00
Guilherme Blanco
09d51f9df5
Fixing missing table aliases when using Many2Many persister.
2013-08-21 23:39:40 -04:00
Guilherme Blanco
5f5c0ffc32
Fixing pgsql test.
2013-08-08 23:57:41 -04:00
Guilherme Blanco
b314476599
ORM side fixes.
2013-08-08 22:01:26 -04:00
bronze1man
97d9ba62bb
fix some file mode 755->644
2013-08-06 14:12:05 +08:00
Guilherme Blanco
e0fd377828
Removed ticket that was breaking the build. DDC-2524 is a circular dependency that is impossible to be fixed with our current codebase.
2013-08-03 19:03:10 -04:00
Guilherme Blanco
b3d0ad7a87
Added coverage to DDC-2524. Updated DDC-1719 to fix related DBAL bug.
2013-07-31 01:24:02 -04:00
Guilherme Blanco
c7b4c9bf0f
Fixed DDC-1884.
2013-07-30 01:29:34 -04:00
Fabio B. Silva
1fbe1ffc5a
fix DDC-2579
2013-07-29 19:31:44 -04: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
Guilherme Blanco
7eb744126b
Implemented support for RepositoryFactory.
2013-06-13 21:47:40 -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
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