DDC-2617: OneToMany annotation should not work with MappedSuperclass #3285

Open
opened 2026-01-22 14:17:15 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 18, 2013).

Jira issue originally created by user johnbenz:

Using annotations in my model mapped to "mapped superclass" I can use one to many relations et every bidirectional relation I want.
Using yaml or xml it suddenly doesn't work and throw me an error. Annotations should work the same way and should not authorize one to many or any bidirectional relation.

Originally created by @doctrinebot on GitHub (Aug 18, 2013). Jira issue originally created by user johnbenz: Using annotations in my model mapped to "mapped superclass" I can use one to many relations et every bidirectional relation I want. Using yaml or xml it suddenly doesn't work and throw me an error. Annotations should work the same way and should not authorize one to many or any bidirectional relation.
admin added the Bug label 2026-01-22 14:17:15 +01:00
Author
Owner

@doctrinebot commented on GitHub (Sep 8, 2013):

Comment created by @beberlei:

Its actually the other way around, yml and xml need to allow this, because it works with association overrides.

@doctrinebot commented on GitHub (Sep 8, 2013): Comment created by @beberlei: Its actually the other way around, yml and xml need to allow this, because it works with association overrides.
Author
Owner

@doctrinebot commented on GitHub (Sep 8, 2013):

Comment created by @beberlei:

Assigning Fabio

@doctrinebot commented on GitHub (Sep 8, 2013): Comment created by @beberlei: Assigning Fabio
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3285