"Duplicate definition of column" MappingExceptions in class inheritance #11040
Unanswered
99hops
asked this question in
Support Questions
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, setting
$reportFieldsWhereDeclared=true
as per #10454 #10455 results inDuplicate definition of column 'id' on entity 'App\Entity\Backup' in a field or discriminator column mapping.
for no obvious reason.What is the point of this exception in the given context? It seems unreasonable to have it? Now problem is Snapshot entity contains a lot of relations, metadata, etc that needs to be duplicated in every instance extending SnapshotEntity to avoid this exception which makes no sense to me..
Please advice (:
Thanks! @mpdude
Beta Was this translation helpful? Give feedback.
All reactions