Mapping Exception: Entity has to be part of the discriminator map #10882
Replies: 1 comment
-
Found the error. A global search and replace had messed up the discriminator map |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions