DDC-3713: [GH-1393] Composite key id used in nullable relations #4558

Closed
opened 2026-01-22 14:44:44 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 24, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

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

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

Message:

This provides a fix, when you're using a composite primary key, and using part of the composite key as a join column, that will make sure you don't overwrite the composite id key.

Also the fix to Unit of Work needed to consider if part of a composite key was null, it should not try to map the entity.

Originally created by @doctrinebot on GitHub (Apr 24, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of Firemango: Url: https://github.com/doctrine/doctrine2/pull/1393 Message: This provides a fix, when you're using a composite primary key, and using part of the composite key as a join column, that will make sure you don't overwrite the composite id key. Also the fix to Unit of Work needed to consider if part of a composite key was null, it should not try to map the entity.
admin added the Bug label 2026-01-22 14:44:44 +01:00
admin closed this issue 2026-01-22 14:44:44 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jul 15, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1393] was labeled:
https://github.com/doctrine/doctrine2/pull/1393

@doctrinebot commented on GitHub (Jul 15, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1393] was labeled: https://github.com/doctrine/doctrine2/pull/1393
Author
Owner

@doctrinebot commented on GitHub (Jul 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1393] was assigned:
https://github.com/doctrine/doctrine2/pull/1393

@doctrinebot commented on GitHub (Jul 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1393] was assigned: https://github.com/doctrine/doctrine2/pull/1393
Author
Owner

@doctrinebot commented on GitHub (Jul 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1393] was closed:
https://github.com/doctrine/doctrine2/pull/1393

@doctrinebot commented on GitHub (Jul 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1393] was closed: https://github.com/doctrine/doctrine2/pull/1393
Author
Owner

@doctrinebot commented on GitHub (Jul 16, 2015):

Comment created by @ocramius:

Mappings provided with the PR are invalid (field shared across identifier, field mappings and association mappings)

@doctrinebot commented on GitHub (Jul 16, 2015): Comment created by @ocramius: Mappings provided with the PR are invalid (field shared across identifier, field mappings and association mappings)
Author
Owner

@doctrinebot commented on GitHub (Jul 16, 2015):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Jul 16, 2015): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4558