DDC-3459: double inversed-by leads to incomprehensible error message #4267

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

Originally created by @doctrinebot on GitHub (Dec 20, 2014).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user tom:

When mapping a many-to-one relationship (in XML format), I made the mistake of having both sides be inversed-by (instead of one using mapped-by). This resulted in the following error message on doctrine:schema:update

Doctrine\ORM\ORMException: This behaviour is (currently) not supported by Doctrine 2 (uncaught exception) at /Volumes/User Data/Users/Tom/Sites/BM2/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 217 while running console command doctrine:schema:update

This message could be more helpful. It doesn't tell me where the error is nor what the error is.

Originally created by @doctrinebot on GitHub (Dec 20, 2014). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user tom: When mapping a many-to-one relationship (in XML format), I made the mistake of having both sides be inversed-by (instead of one using mapped-by). This resulted in the following error message on doctrine:schema:update Doctrine\ORM\ORMException: This behaviour is (currently) not supported by Doctrine 2 (uncaught exception) at /Volumes/User Data/Users/Tom/Sites/BM2/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 217 while running console command `doctrine:schema:update` This message could be more helpful. It doesn't tell me where the error is nor what the error is.
admin added the Improvement label 2026-01-22 14:38:31 +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#4267