Klein Thomas
bc82e94afc
Move to 2.5 section
2015-11-09 03:56:16 +00:00
Klein Thomas
b9af1c8fa5
Update Upgrade.md after minor bc break in 2.5.1
...
The introduction of the second parameter in EntityRepository#createQueryBuilder generates a runtime notice if you have a sub-class of EntityRepository that has a second parameter in the createQueryBuilder method
2015-11-09 03:56:07 +00:00
Pantel
d606efd4eb
[DDC-3711] add Test that check if the association key are composite
2015-11-09 03:46:06 +00:00
Pantel
581e1638a2
[DDC-3711] add Tests that check if the association key are composite
2015-11-09 03:45:56 +00:00
Pantel
17ae8d1b2d
[DDC-3711] Correct Error on manyToMany with composite primary key
2015-11-09 03:45:46 +00:00
Guilherme Blanco
3a058f8522
Merge branch 'hotfix/#1375-prevent-duplicate-unique-index' into 2.5
...
Backported #1375 to 2.5
2015-11-07 16:47:26 +00:00
Michał Bundyra
567220ef71
prevent duplicate unique index
2015-11-07 16:46:22 +00:00
Marco Pivetta
39098ce415
Merge branch 'hotfix/#1507-fixed-wrong-property-name-in-resultset-mapping-builder' into 2.5
...
Backport merge #1507 into 2.5.x
Close #1507
2015-11-07 10:35:30 -05:00
François-Xavier de Guillebon
1eb9c8a7f6
Added test
2015-11-07 10:35:08 -05:00
François-Xavier de Guillebon
f2f53ba9dc
Fixed wrong variable used as array key
2015-11-07 10:35:02 -05:00
François-Xavier de Guillebon
ebbc443ec3
Fixed wrong property name
2015-11-07 10:34:55 -05:00
Nicolas Grekas
16802d2614
Allow symfony 3.0 components
...
Tests should tell if any deprecated interfaces of Symfony are used. If not, then the bundle is defacto compatible with 3.0
2015-11-05 11:43:20 +01:00
neoglez
ef73249bc7
Entity to test a mapped superclass
...
Backport of https://github.com/doctrine/doctrine2/pull/1377/files to branch 2.5
2015-09-21 09:32:54 +02:00
neoglez
ed637e51b9
Backport of "fix aliasing of property in OrderBy from MappedSuperclass"
...
Backport of "LimitSubqueryOutputWalker: fix aliasing of property in OrderBy from MappedSuperclass" ( e501137d1a
)
See my comment on a3ece3b419
2015-09-21 08:58:30 +02:00
neoglez
a3ece3b419
UnitTest backport of "Failing test case for broken paginator case"
...
UnitTest backport of "Failing test case for broken paginator case" ( 192da14842
).
The branch 2.x is very important because it's related to ZF2 doctrine module (see https://github.com/doctrine/DoctrineORMModule/blob/master/composer.json ) and specially this issue affects the use case of extending the ZF2 user entity defined in ZfcUser ( https://github.com/ZF-Commons/ZfcUser ).
This test is meant to show the need of the backport of e501137d1a
2015-09-21 08:52:46 +02:00
Marco Pivetta
2d1bc78749
Merge branch 'hotfix/#1510-DDC-3908-fix-cache-related-tests-in-2.5' into 2.5
...
Close #1510
2015-09-19 10:45:24 +02:00
Matthias Pigulla
eaf8b1c7ca
Fix tests related to caches, as per doctrine/cache 1.5.0 changes
...
Backports #1510
Fixes DDC-3908
dd47003641
removes the 'DoctrineNamespaceCacheKey[]' entry from the cache. Thus, all tests counting cache entries were off by one.
2015-09-19 10:44:47 +02:00
Benjamin Eberlei
8070b50150
Bump version to 2.5.2
2015-08-31 14:59:39 +02:00
Benjamin Eberlei
e6a83bedbe
Release 2.5.1
2015-08-31 14:59:39 +02:00
Benjamin Eberlei
b6e5464b98
Fix version
2015-08-31 14:59:36 +02:00
Benjamin Eberlei
6366d190d7
[DCOM-293] Fix security misconfiguration vulnerability allowing local remote arbitrary code execution.
2015-08-31 14:58:12 +02:00
Bill Schaller
89eed31e79
Merge pull request #1463 from ehimen/paginate-order-by-subselect
...
Fixed issue when paginator orders by a subselect expression
Conflicts:
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
2015-08-04 14:31:08 -04:00
Marco Pivetta
4ca00f7a9d
Merge branch 'hotfix/#1387-DDC-3699-do-not-merge-managed-uninitialized-entities-2.5' into 2.5
...
Close #1387
2015-07-15 21:52:41 +01:00
Marco Pivetta
6bc405455e
DDC-3699 - #1387 - leveraging the OrmFunctionalTestCase
API
2015-07-15 21:52:25 +01:00
Marco Pivetta
173729e560
DDC-3699 - #1387 - catching specific exceptions
2015-07-15 21:52:20 +01:00
Marco Pivetta
86abbb0e78
DDC-3699 - #1387 - simpifying tests, clarifying on test method names
2015-07-15 21:52:16 +01:00
Lenard Palko
69ef75ff2d
Added test cases for both one-to-one and one-to-many cases.
2015-07-15 21:52:08 +01:00
Lenard Palko
c68edec0c2
Fix skipping properties if they are listed after a not loaded relation.
2015-07-15 21:51:55 +01:00
Marco Pivetta
f9bbd953a7
Merge branch 'hotfix/#1381-wakeup-reflection-with-embeddable-and-staticreflection-serialization-fix-2.5' into 2.5
...
Close #1381
2015-07-15 20:50:28 +01:00
Nico Vogelaar
9097014c3d
Fixes ClassMetadata wakeupReflection with embeddable and StaticReflectionService
2015-07-15 20:50:05 +01:00
Marco Pivetta
12d178777a
Merge branch 'hotfix/#1380-non-cache-persister-bug-2.5' into 2.5
...
Close #1380
2015-07-15 20:45:38 +01:00
Marco Pivetta
ed1c4de2b6
DDC-3683 - #1380 - reverting BC break, annotating correct types, cs fixes
2015-07-15 20:45:02 +01:00
Darien Hager
fff56c7f3f
Remove runtime assertion
2015-07-15 20:44:55 +01:00
Darien Hager
97e90ddefc
Clarify state-changes, replace array_key_exists() with isset() for speed
2015-07-15 20:44:50 +01:00
Darien Hager
d5adda954d
Whitespace formatting tweaks
2015-07-15 20:44:39 +01:00
Darien Hager
c507b52f20
Remove now-superfluous EntityManager check
2015-07-15 20:44:33 +01:00
Darien Hager
08be905fc3
Refactor LoadClassMetadataEventArgs to ensure it contains an EntityManager
2015-07-15 20:44:24 +01:00
Darien Hager
d29cc3660f
Change the test listener than layers on second-level-caching so that it is more conservative, only turning on caching-associations when it knows the target entity is cache-able.
2015-07-15 20:44:10 +01:00
Darien Hager
768c291cd1
Stumbled across a bug where signatures didn't match, but also the current persister-type didn't support getCacheRegion(). Unsure of exact mechanism, but clearly the constructor doesn't take the second argument anyway, may be old code.
2015-07-15 20:43:51 +01:00
Bill Schaller
10ed690d99
Backport Merge pull request #1430 from michael-lavaveshkul/master
...
"INSTANCE OF" example doesn't match description.
2015-06-18 10:41:56 -04:00
Benjamin Eberlei
e4e59d8064
Merge branch 'DDC-3756' into 2.5
2015-06-16 21:44:14 +02:00
Restless-ET
0e208f7538
[2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata
...
This bug was introduced at #1205 while resolving #1200 .
2015-06-16 21:43:54 +02:00
Guilherme Blanco
3e6c6af845
Merge pull request #1382 from holtkamp/patch-second-level-cache-association-hydration
...
Patch second level cache association hydration
2015-04-14 11:57:54 -04:00
Marco Pivetta
584345397b
Merge branch 'hotfix/#1374-fix-ddc-767-test-php7-pg94-2.5' into 2.5
2015-04-06 04:23:17 +01:00
Matteo Beccati
786791b8fe
Fix DDC767Test failing on php7 + pg94
...
The failure happens when running the full suite or even just:
phpunit tests/Doctrine/Tests/ORM/Functional/Ticket
2015-04-06 04:23:03 +01:00
Marco Pivetta
724dfa0de3
Merge branch 'hotfix/#1361-persistent-collection-collection-hint-fix' into 2.5
2015-04-05 01:30:32 +01:00
Marco Pivetta
39592ba59c
Correcting ObjectHydrator
logic: if an array
is a default value for a collection-valued property, it should be cast to a Collection
2015-04-05 01:29:59 +01:00
Marco Pivetta
58a6013d15
Correcting static introspection issue in cache specific tests (null
was being passed to a PersistentCollection
)
2015-04-05 01:29:52 +01:00
Marco Pivetta
4580429616
Removing irrelevant tests (as per discussion with @guilhermeblanco and @stof
2015-04-05 01:29:42 +01:00
Marco Pivetta
6e563a313e
a PersistentCollection
should only allow another collection as a wrapped collection
2015-04-05 01:29:35 +01:00