You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use inheritance mapping and since v2.16 it is no longer working. Exact scheme example in the bottom.
Previous behavior
Worked fine.
Current behavior
In a newer version I got following error: Duplicate definition of column 'id' on entity 'App\Context\Task\Model\TaskHistory' in a field or discriminator column mapping.
Then bin/console doctrine:schema:validateif you use symfony.
If I move id field to History class, then it works as expected. Also works if I use trait for Id instead of abstract class.
I know that doctrine not guarantees plain old OOP classes inheritance to work but since it is BC break I decided to report it because it might indicate a new mapping bug.