Skip to content

v2.6.1

@Ocramius Ocramius tagged this 27 Feb 08:23
 * a regression in parsing of `DELETE` DQL queries without a DQL alias
 * a regression in hydration of fields of intermediate classes multi-level single-/multi-table-inheritance
 * a call to an undefined `Doctrine\Common\Cache\MemcachedCache::setMemcache()` method in the setup tooling
 * persistence order for entities with identity through associated entity
 * some persistence issues with join columns with special characters in them, which need to be quoted
 * incorrect SQL parameter type binding in the basic entity persister
 * versioned entity version fields caching within the second level cache

Total issues resolved: **23**

- [6043: Identity through foreign Entities - persist](https://github.com/doctrine/doctrine2/issues/6043) thanks to @Gorjunov
- [6531: Cannot persist parent entity if OneToOne shares the same id](https://github.com/doctrine/doctrine2/issues/6531) thanks to @davidbarratt
- [6701: Fix identity through foreign entities](https://github.com/doctrine/doctrine2/pull/6701) thanks to @vhenzl
- [6939: Error for delete query without alias since 2.6.0](https://github.com/doctrine/doctrine2/issues/6939) thanks to @dmaicher
- [6971: Exception Call to undefined method Doctrine\Common\Cache\MemcachedCache::setMemcache()](https://github.com/doctrine/doctrine2/pull/6971) thanks to @rolando-caldas
- [6988: Inheritance middle-layer doesn't get hydrated](https://github.com/doctrine/doctrine2/pull/6988) thanks to @kbond
- [6997: ManyToManyPersister fails to remove join table entry if there is multiple join columns](https://github.com/doctrine/doctrine2/pull/6997) thanks to @NicolaF
- [7002: Flush new entity with relation when use relation in composite key throws ORMInvalidArgumentException](https://github.com/doctrine/doctrine2/issues/7002) thanks to @samplestudio
- [7003: Cannot persist new entity if primary key contains a foreign key and the referenced object is in state new and its id is not assigned](https://github.com/doctrine/doctrine2/pull/7003) thanks to @NicolaF
- [7012: Fixed updating of entity with quoted identifier join column](https://github.com/doctrine/doctrine2/pull/7012) thanks to @janlanger
- [7021: Fix incorrect variable reference](https://github.com/doctrine/doctrine2/pull/7021) thanks to @lcobucci
- [7031: Tests failing in February (QueryDqlFunctionTest::testDateAdd with "month" dataset)](https://github.com/doctrine/doctrine2/issues/7031) thanks to @Majkl578
- [7032: QueryDqlFunctionTest: Increase delta for testDateAdd() to work in February](https://github.com/doctrine/doctrine2/pull/7032) thanks to @Majkl578
- [7051: Bugfix: Hydrate subclasses of subclasses](https://github.com/doctrine/doctrine2/pull/7051) thanks to @technetium
- [7053: Fixed parser rejecting valid DQL](https://github.com/doctrine/doctrine2/pull/7053) thanks to @carnage
- [7055: Fix date issues once and for all](https://github.com/doctrine/doctrine2/pull/7055) thanks to @lcobucci
- [7059: Querying abstract class in the middle of a hierarchy returns NULL instead of objects](https://github.com/doctrine/doctrine2/issues/7059) thanks to @BenMorel
- [7062: BasicEntityPersister confuses association types with PDO datatypes](https://github.com/doctrine/doctrine2/issues/7062) thanks to @mariusklocke
- [7067: ORM second level cache and version (locking)](https://github.com/doctrine/doctrine2/issues/7067) thanks to @wtorsi
- [7069: Test for Second level cache with Version, DDC #7067](https://github.com/doctrine/doctrine2/pull/7069) thanks to @wtorsi
- [7077: Fix BC-break on delete without alias DQL](https://github.com/doctrine/doctrine2/pull/7077) thanks to @lcobucci
- [7082: Add failing test for issue #7062 - BasicEntityPersister confuses association types with PDO datatypes](https://github.com/doctrine/doctrine2/pull/7082) thanks to @mariusklocke
- [7093: Fix updating entities with quoted identifier association](https://github.com/doctrine/doctrine2/pull/7093) thanks to @lcobucci
Assets 2