mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Mapping Exception: Entity has to be part of discriminator map - but IS #7201
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 @fpolli on GitHub (Aug 5, 2023).
I just today got this error and cannot get past it. The entity it tells me has to be part of the discriminator map of the root entity IS part of the discriminator map.
Here is the inheriting class definition:
And here is the Content class:
This has all been this way for weeks. No problem. I have not changed anything even remotely close to relevant. I updated my class map (Composer), cleared caches, cleared browser cache and cookies, and nothing has helped.
Originally posted by @fpolli in https://github.com/doctrine/orm/discussions/10882