DDC-3485: Using Embeddable in MappedSuperclass fails #4294

Open
opened 2026-01-22 14:38:59 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 11, 2015).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user nemo64:

While Trying to Embed an object into a mapped superclass an exception is thrown:

PHP Fatal error:  Uncaught exception 'Doctrine\ORM\Mapping\MappingException' with message 'Duplicate definition of column 'embed_someField' on entity 'Entity' in a field or discriminator column mapping.' in /home/dev/Workspace/symfony/perto/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:555
Originally created by @doctrinebot on GitHub (Jan 11, 2015). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user nemo64: While Trying to Embed an object into a mapped superclass an exception is thrown: ``` PHP Fatal error: Uncaught exception 'Doctrine\ORM\Mapping\MappingException' with message 'Duplicate definition of column 'embed_someField' on entity 'Entity' in a field or discriminator column mapping.' in /home/dev/Workspace/symfony/perto/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:555 ```
admin added the Bug label 2026-01-22 14:38:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4294