DDC-2373: [GH-633] [DDC-2042] Added "targetEntity" to AssociationOverride #2982

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

Originally created by @doctrinebot on GitHub (Mar 26, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of spezifanta:

Url: https://github.com/doctrine/doctrine2/pull/633

Message:

Hey,

I needed to override "targetEntity" so I forked Doctrine and applyed it myself. Just after that I found a Ticket [DDC-2042] in your Jira so I added a unit test to and would be more than happy to see this commit get merged in to the main master (at some point ;)).

Cheers, Alex

I will stick around in the #doctrine-dev on Freenode for any questions. My nick there is "fanta".

Keep up the good work.

/****

  • @ORM\Entity
  • @ORM\Table(name="customer")
  • @ORM\AssociationOverrides({
  •  @ORM\AssociationOverride(name="products",
    
  •      targetEntity="MyNewProduct"
    
  •  )
    
  • })
    */
Originally created by @doctrinebot on GitHub (Mar 26, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: This issue is created automatically through a Github pull request on behalf of spezifanta: Url: https://github.com/doctrine/doctrine2/pull/633 Message: Hey, I needed to override "targetEntity" so I forked Doctrine and applyed it myself. Just after that I found a Ticket [[DDC-2042](http://www.doctrine-project.org/jira/browse/DDC-2042)] in your Jira so I added a unit test to and would be more than happy to see this commit get merged in to the main master (at some point ;)). Cheers, Alex I will stick around in the #doctrine-dev on Freenode for any questions. My nick there is "fanta". Keep up the good work. /**** - @ORM\Entity - @ORM\Table(name="customer") - @ORM\AssociationOverrides({ - @ORM\AssociationOverride(name="products", - targetEntity="MyNewProduct" - ) - }) */
admin added the Bug label 2026-01-22 14:08:56 +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#2982