mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1203: Single Table Inheritance - Discriminator Column is not populated #1513
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 @doctrinebot on GitHub (Jun 12, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user johannes:
I have the following class inheritance; if I have the mapped super class in there, the discriminator column is not populated; if I remove it, it is correctly set.
@doctrinebot commented on GitHub (Jun 18, 2011):
Comment created by @beberlei:
This was fixed or something.
@doctrinebot commented on GitHub (Jun 18, 2011):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Jun 30, 2011):
Comment created by codingrobot:
The following hierarchy doesn't work after commit
5ff44b5ec7.The thrown exception is:
'Entity\AbstractMaschine' has to be part of the descriminator map of 'Entity\Inventory'
Inventory is just a plain abstract class which contains the @Id field and a few methods used by all subclasses.
@doctrinebot commented on GitHub (Jun 30, 2011):
Comment created by @beberlei:
Yes, please add it to the discriminator map, it is necessary for internal algorithms that this class is in the map.
@doctrinebot commented on GitHub (Jun 30, 2011):
Comment created by @beberlei:
Ok this has been changed, its not necessary for abstract classes anymore.