Marco Pivetta
d952077d04
#1272 DDC-2704 - using the property getter utility rather than metadata API when fetching reflection properties for a class
2015-01-24 14:30:40 +01:00
Marco Pivetta
1aa453d493
#1272 DDC-2704 - property getter utility is package private
2015-01-24 14:29:40 +01:00
Marco Pivetta
5ec300452a
#1272 DDC-2704 - implementation for a property getter utility
2015-01-24 14:29:09 +01:00
Marco Pivetta
8910c2c482
DDC-2704 - data should be merged only into initialized proxies
2015-01-24 13:22:16 +01:00
Marco Pivetta
885700d38c
DDC-2704 - should initializeAllReflectionProperties
also on initializeReflection
2015-01-24 13:22:16 +01:00
Marco Pivetta
a4982a8dc2
DDC-2704 - handling partial initialization of the class as expected (class metadata may not hold reflection class after wakeup)
2015-01-24 13:22:15 +01:00
Marco Pivetta
0a3d6966d6
DDC-2704 - providing hotfix - also storing inherited transient properties in the class metadata
2015-01-24 13:22:15 +01:00
Marco Pivetta
6a1755972d
Revert "Merge branch 'hotfix/#1220-sort-paginator-subquery-output-only-once'"
...
This reverts commit 8f097ab30436412e8a62ead3fefe27c28d5bc905, reversing
changes made to b23a8dd4293a2509d64d8e650d9cccf088cded9f.
Conflicts:
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
2015-01-24 13:10:25 +01:00
Marco Pivetta
6a2b7c2a8e
#1169 DDC-3343 - correcting query count assertions on extra-lazy specific tests (some DELETE operations became UPDATE operations)
2015-01-24 12:20:33 +01:00
Marco Pivetta
15397bbe40
#1169 DDC-3343 - refactoring test to use pre-existing test models
2015-01-24 11:54:03 +01:00
Marco Pivetta
f184956d3a
#1169 DDC-3343 - one-to-many extra-lazy should not delete associated values when they are removed, but just update the owning side
2015-01-24 11:40:48 +01:00
Marco Pivetta
a67332fb51
#1176 DDC-3378 - minor CS fixes (imports, spacing, IDE hints)
2015-01-22 12:11:03 +01:00
Adrien Brault
fc8191f557
Naive fix
2015-01-22 11:18:12 +01:00
Marco Pivetta
dfa4bbd67a
Merge branch 'hotfix/resolve-target-entity-also-in-discriminator-map'
...
Close #1257
2015-01-22 09:52:17 +01:00
Marco Pivetta
cd3ffa8f14
#1130 DDC-3300 - removing typo causing parse error
2015-01-22 09:44:40 +01:00
Marco Pivetta
e969a6be85
#1130 DDC-3300 - rewording and clarifying logic that re-maps discriminator values when needed
2015-01-22 09:44:39 +01:00
Marco Pivetta
8a6b1b48e3
#1130 DDC-3300 - removing unused ResolveDiscriminatorMapListener
and related test
2015-01-22 09:44:39 +01:00
Marco Pivetta
a36bea2951
#1130 DDC-3300 - optimizing performance (looping over existing classes first): throwing exceptions if the class is not found in the discriminator map
2015-01-22 09:44:39 +01:00
Marco Pivetta
8579baf28c
#1130 DDC-3300 - minor refactoring (else
removal, spacing)
2015-01-22 09:44:39 +01:00
Marco Pivetta
786c34faa5
#1130 DDC-3300 - refactoring auto-remapping of discriminator value into a private method
2015-01-22 09:44:38 +01:00
Marco Pivetta
c589b5d013
#1130 DDC-3300 - re-mapping discriminator column at runtime (based on modified class metadata)
2015-01-22 09:44:38 +01:00
mmoreram
93b6eeca54
Full resolveTargetEntities as constructor argument
2015-01-22 09:44:38 +01:00
mmoreram
fa45c0834d
Removed unused construct param
2015-01-22 09:44:38 +01:00
mmoreram
2a6c844953
Using constructor to define environment
2015-01-22 09:44:38 +01:00
mmoreram
7a73d27600
Added resolve entities support in discrim. map
2015-01-22 09:44:38 +01:00
Lukáš Lukáč
5e6ec8ebf3
Incorrect @throws doc. in getSingleScalarResult
2015-01-20 17:21:43 +01:00
Guilherme Blanco
2418f8f5e6
Removed todo by implementing it.
2015-01-18 22:21:18 -05:00
Anderson Müller
d48093886d
Fix error undefined index "targetEntity"
2015-01-18 15:54:43 +01:00
Marco Pivetta
c7f5ee8e9e
#1228 DDC-3490 - Remove unused method
2015-01-18 01:05:53 +01:00
Marco Pivetta
b1d7a057fd
#1228 DDC-3490 - avoid catching unknown exceptions, remove unused method call
2015-01-18 01:05:36 +01:00
Marco Pivetta
d0c0f43c79
#1228 DDC-3490 - preventing invalid association values from being persisted
2015-01-18 00:53:57 +01:00
Marco Pivetta
71a6a88de8
#1228 DDC-3490 -better/more complete exception message for invalid populated associations
2015-01-18 00:53:34 +01:00
flip111
83de071c00
Update ORMInvalidArgumentException.php
...
remove added `value` to exception
2015-01-18 00:16:10 +01:00
flip111
d1a2655090
Update UnitOfWork.php
...
rename duplicate method
2015-01-18 00:16:10 +01:00
flip111
b5dd999f84
Update ORMInvalidArgumentException.php
...
rename duplicate method
2015-01-18 00:16:10 +01:00
flip111
059c33e69d
Update UnitOfWork.php
...
removed one `)` too many
2015-01-18 00:16:10 +01:00
flip111
1ae153d315
Update UnitOfWork.php
2015-01-18 00:16:10 +01:00
flip111
643ae78691
Update ORMInvalidArgumentException.php
...
Add unused parameters for `invalidAssociation`
2015-01-18 00:16:09 +01:00
flip111
04e4940607
Update ORMInvalidArgumentException.php
...
`@return self` trend break with `@return ORMInvalidArgumentException`
2015-01-18 00:16:09 +01:00
flip111
88e071d22d
moved exception constructors out of UoW
2015-01-18 00:16:09 +01:00
flip111
b120dafb70
Added new exception constructors
2015-01-18 00:16:09 +01:00
flip111
00a2c8e09c
improved error handling for invalid association values
...
Possibly to do:
1. Make custom Exception for line 713
2. Make custom Exception for line 817
3. Does the object check on line 816 slow down the code too much? Alternatively a try-catch could be put around line 1415 or higher up.
2015-01-18 00:16:09 +01:00
Marco Pivetta
025565005d
#1252 DDC-3496 - reverting interface BC break
2015-01-18 00:11:47 +01:00
Marco Pivetta
369a9934a5
#1252 DDC-3496 - moving stub naming strategy to tests directory
2015-01-18 00:07:54 +01:00
Jack Sleight
60523d1b62
Update docblock for joinColumnName to include className details
2015-01-17 23:57:52 +01:00
Jack Sleight
be9d92bb26
Example NamingStrategy for using class name in join column names.
2015-01-17 23:57:52 +01:00
Jack Sleight
82163a3301
Include className in calls to NamingStrategy joinColumnName method.
2015-01-17 23:57:52 +01:00
Marco Pivetta
b1474768fe
#954 DDC-2982 - Better type-safety in Doctrine\ORM\Cache\Region\DefaultMultiGetRegion
instantiation logic
2015-01-17 23:43:34 +01:00
Marco Pivetta
624b98544a
#954 DDC-2982 - DefaultCacheFactory
now supports generic Doctrine\Common\Cache\Cache
instances
2015-01-17 23:42:49 +01:00
Marco Pivetta
564624814b
#954 DDC-2982 - Evicting all cache entries is not supported with a generic cache adapter
2015-01-17 23:30:37 +01:00