Marco Pivetta
542d9b664b
#1264 - removing backtick
2015-01-20 12:11:39 +01:00
Marco Pivetta
daf2763894
Merge pull request #1271 from kix/patch-1
...
Update migration_2_5.rst
2015-01-20 11:41:32 +01:00
Stepan Anchugov
6ac0ae3c87
Update migration_2_5.rst
...
Fixed some formatting issues and typos.
2015-01-20 15:35:47 +05:00
Benjamin Eberlei
cd616ff40e
Update changelog docs
2015-01-18 22:52:30 +01:00
Benjamin Eberlei
79ba8c6be8
Add Changelog/Migration to 2.5 documentation chapter.
2015-01-18 15:18:18 +01:00
Marco Pivetta
61e07e5907
Handling minor HHVM incompatibility (dumped value is different between PHP and HHVM)
2015-01-18 02:54:18 +01:00
Marco Pivetta
7cba76082e
Corrected test: metadata should be retrieved from a specific entity manager
...
Metadata is subject to modification depending on the active database platform (generator strategies, usually),
therefore it is not safe to pull it from an entity manager and sharing metadata across multiple entity managers.
2015-01-18 02:32:02 +01:00
Marco Pivetta
39766e645c
Merge branch 'feature/#1248-better-exception-messages-on-invalid-association-data'
...
Close #1248
2015-01-18 01:07:08 +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
1cd03625a5
#1228 DDC-3490 - fixed exception catching in BasicFunctionalTest
logic
2015-01-18 00:59:58 +01:00
Marco Pivetta
66479334d4
#1228 DDC-3490 - computing changes of invalid objects should also fail
2015-01-18 00:55:40 +01:00
Marco Pivetta
9c1275bb1f
#1228 DDC-3490 - persistence of invalid values should also cause exceptions
2015-01-18 00:54:18 +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
Marco Pivetta
5e76f12000
#1228 DDC-3490 - tests for invalid association values handled in the UnitOfWork
2015-01-18 00:37:21 +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
84562bca82
Merge branch 'hotfix/#1252-include-class-name-when-calling-naming-strategy-join-column-name'
...
Close #1252
2015-01-18 00:12:54 +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
Marco Pivetta
29007e7d79
#1252 DDC-3496 - minor test cleanups (avoiding private static method)
2015-01-18 00:03:49 +01:00
Jack Sleight
60523d1b62
Update docblock for joinColumnName to include className details
2015-01-17 23:57:52 +01:00
Jack Sleight
04d8f66b72
Tests for new class based join column NamingStrategy
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
4cde35dc18
Merge branch 'feature/#954-multi-get-slc-regions'
...
Close #954
2015-01-17 23:49:40 +01:00
Marco Pivetta
d5f6b4440a
#954 DDC-2982 - s/CacheProvider
/Cache
in documentation
2015-01-17 23:44:40 +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
95fe03b182
#954 DDC-2982 - Coverage for different instantiation of single-/multi-get cache regions
2015-01-17 23:42:15 +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
Marco Pivetta
0e4a7caf0b
#954 DDC-2982 - Evicting all cache entries is not supported with a generic cache adapter
2015-01-17 23:30:20 +01:00
Marco Pivetta
95c6cca336
#954 DDC-2982 - Minor CS fixes/IDE hints
2015-01-17 23:17:07 +01:00
Marco Pivetta
8ddcc4b270
#954 DDC-2982 - No need to check if a Region
is a MultiGetRegion
2015-01-17 23:11:14 +01:00
Marco Pivetta
3c5a794691
#954 DDC-2982 - Making cache Region
always a MultiGetRegion
(no need to segregate the interface here)
2015-01-17 23:10:49 +01:00
Asmir Mustafic
3f64f3252b
Changed some tests to be compatible with the new implementation of
...
multiget region
2015-01-17 22:27:59 +01:00
Asmir Mustafic
e73bd9e9bb
New buildCacheEntry way bo build a entry for a cached collection
2015-01-17 22:27:59 +01:00
Asmir Mustafic
1b4eee6d0d
Fixed strange test case with CmsUser and second-level cache
2015-01-17 22:27:59 +01:00
Asmir Mustafic
5ec2014051
MultiGetCollectionHydrator depends knows the multi-get region
2015-01-17 22:27:59 +01:00
Asmir Mustafic
1bfa68d94f
Removed dependency with Region interface
2015-01-17 22:27:59 +01:00
Asmir Mustafic
779af8ce8e
Added dependency with doctrine/cache 1.4
2015-01-17 22:27:59 +01:00