mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Many to Many bi-directional validation failing #6593
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 @nspyke on GitHub (Dec 19, 2020).
Doctrine ORM version 2.7.4
Symfony 4.4.17
I'm getting this validation error, even though as far as I can tell, my XML is correct
[FAIL] The entity-class Core\Entity\Notification\NotificationSetting mapping is invalid:
If I change both sides to use inversed-by then the validation error goes away, which seems weird because i'm pretty sure that that's an invalid configuration.
Owning side
Inverse side
Same validation error if I also changed mapped-by to inversed-by on NotificationSetting and mapped-by to inversed-by on Vehicle.