mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
2.7.2 Regression #6445
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theUniC on GitHub (Apr 13, 2020).
Bug Report
Summary
When upgrading to 2.7.2 from 2.7.1 there's a regression with embeddable inheritance with ID fields.
Current behavior
When embeddables inherit from a parent class with an ID field, doctrine complains with the following message
With 2.7.1 it does not.
How to reproduce
I've set up an example code repository with example code. It consists of a single entity, with an embeddable inheriting from a base abstract class.
https://github.com/theUniC/doctrine-2.7.2-regression
The steps to reproduce are
composer installphp bin/console doctrine:mapping:infocomposer req doctrine/orm=2.7.1php bin/console doctrine:mapping:infoExpected behavior
The same behaviour than 2.7.1 version.