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
Lenard Palko
c68edec0c2
Fix skipping properties if they are listed after a not loaded relation.
2015-07-15 21:51:55 +01:00
Nico Vogelaar
9097014c3d
Fixes ClassMetadata wakeupReflection with embeddable and StaticReflectionService
2015-07-15 20:50:05 +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
08be905fc3
Refactor LoadClassMetadataEventArgs to ensure it contains an EntityManager
2015-07-15 20:44:24 +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
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
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
6e563a313e
a PersistentCollection
should only allow another collection as a wrapped collection
2015-04-05 01:29:35 +01:00
Marco Pivetta
e8c9cb2f23
Reverting BC break: PersistentConnection#__construct()
now accepts null|array|Collection
again
2015-04-05 01:29:28 +01:00
Marco Pivetta
cb3179865b
Minor docblock correction (discovered during testing)
2015-04-05 01:29:00 +01:00
Marco Pivetta
f20de54281
Bumping version to 2.6.0-DEV
2015-04-02 21:42:47 +01:00
Marco Pivetta
aa80c7d2c5
Preparing for v2.5.0 release
2015-04-02 21:40:18 +01:00
David Prévot
b7cf41ca45
Drop useless execution bit
2015-04-01 16:01:22 -04:00
Marco Pivetta
61bcfda167
Bumping version to v2.5.0-DEV
2015-03-31 22:13:40 +01:00
Marco Pivetta
afd0f28c5f
Bumping version for v2.5.0-RC2 release
2015-03-31 22:12:50 +01:00
Marco Pivetta
9a2afd1a9a
#1350 - parameters
should be an array
by default
2015-03-31 22:02:48 +01:00
mmoreram
f6a1ea4859
Assigned default value to array
...
* For strict configurations of PHP, we were accessing to a non-array element
2015-03-31 22:02:05 +01:00
Marco Pivetta
ba00fc1e90
#1353 #1347 #1351 - s/inSubselect/inSubSelect (with docblock documentation)
2015-03-31 21:51:56 +01:00
Marco Pivetta
6c5dbd8d4c
#1353 #1347 #1351 - Removing double quotes (confusing)
2015-03-31 21:50:08 +01:00
Bill Schaller
5c93e61686
Fix issue in LimitSubqueryOutputWalker with entities having field names different from column names
2015-03-31 21:39:21 +01:00
Bill Schaller
608dfa2f57
Add more detection in LimitSubqueryWalker for conditions that must be handled by LimitSubqueryOutputWalker
2015-03-31 21:39:20 +01:00
Bill Schaller
b76107e20f
resolve review comments from @stof
2015-03-31 21:39:20 +01:00
Bill Schaller
edcc0fc024
Fix paginator when ordering by while selecting entities using joined table inheritance
2015-03-31 21:39:20 +01:00
Bill Schaller
09d28819b5
Fix issue where paginating on a query with a subquery in the where clause crashed
2015-03-31 21:38:58 +01:00
Bill Schaller
a8342a4be2
Cleanup
2015-03-31 21:36:33 +01:00
Bill Schaller
ff75a3ad49
Fix paginator issues when ordering by a joined column from a to-many association.
...
Manual merge testcase from #1351
2015-03-31 21:36:32 +01:00
Bill Schaller
54d7efd92c
Fix LimitSubqueryOutputWalker when used on tables with joined table inheritance
2015-03-31 21:32:28 +01:00
Fedik
5cd8334897
fix EntityGenerator RegenerateEntityIfExists
2015-03-27 13:10:14 +02:00
Marco Pivetta
60bacda685
Bumping version to 2.5.0-DEV
2015-03-25 23:16:30 +00:00
Marco Pivetta
df902c9c6a
Preparing release v2.5.0-RC1
2015-03-25 23:14:52 +00:00
Marco Pivetta
cf1ecffb14
Merge pull request #1339 from BenMorel/dqlcustomtype
...
[DDC-2224] Honor convertToDatabaseValueSQL() in DQL query parameters
2015-03-25 01:27:05 +00:00
Benjamin Morel
9eb458caa6
Query::_getQueryCacheId() directly accesses $this->_parsedTypes
2015-03-24 17:14:45 +01:00
Marco Pivetta
d97d3ec0e5
Minor CS fixes (braces)
2015-03-24 00:37:17 +00:00
Marco Pivetta
45d39dd50d
Making preserveSqlOrdering
API private
2015-03-24 00:36:13 +00:00
Marco Pivetta
6dfff304f3
Merge branch 'hotfix/#1337-fix-oracle-postgresql-paginator-sorting-issues' into hotfix/#1342-paginator-functional-test-integration
2015-03-24 00:25:12 +00:00
Marco Pivetta
70c8591bbe
Merge pull request #1343 from karlrixon/master
...
Support embeddables in partial object query expression [DDC-3621]
2015-03-23 23:43:36 +00:00
Marco Pivetta
22d699008c
Merge branch 'hotfix/#1346-post-insert-big-integer-cast-avoidance'
...
Close #1346
2015-03-23 23:38:21 +00:00
Josef Kříž
e57be9da5e
Fix: generated IDs are converted to integer
2015-03-23 17:51:04 +01:00
Josef Kříž
d1a695b42b
Typo in phpdoc
2015-03-23 15:57:41 +01:00
Bill Schaller
4b10db3a43
Fix crashes in ConvertMappingCommand and GenerateEntitiesCommand when using entities with joined table inheritance
...
ConvertMappingCommand and GenerateEntitiesCommand both use the DisconnectedClassMetadataFactory, which allows metadata manipulation without loading the associated classes. Commit a36bea broke these two commands by adding a bailout condition in ClassMetadataFactory::populateDiscriminatorValue which checks $metadata->reflClass->isAbstract(). If the DisconnectedClassMetadataFactory is being used, $metadata->reflClass will always be null, causing a fatal error, "Fatal error: Call to a member function isAbstract() on null".
This commit adds a check to see if $metadata->reflClass is set before checking isAbstract.
2015-03-20 13:59:27 -04:00
Bill Schaller
4c84f54493
Fix failures on SQL Server due to scalar select items not having an alias
2015-03-19 17:09:47 -04:00
Marco Pivetta
24425436b0
Bumping version constants to 2.5.0-DEV
2015-03-18 22:38:42 +00:00
Marco Pivetta
483d48cc54
Bumping version constants for the 2.5.0-BETA1 release
2015-03-18 22:38:18 +00:00
Benjamin Eberlei
b3a6fb7fde
[DDC-3461] Renamed AssocationBuilder::isPrimaryKey() to makePrimaryKey(). Same for FieldBuilder and depreceating isPrimaryKey(). Adjust tests. Revert change in ClassMetadataInfo and fix bug.
2015-03-18 17:06:30 +01:00