DDC-2724: [GH-813] Bugfix for DateTimes and composite IDs. #3410

Closed
opened 2026-01-22 14:19:23 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 6, 2013).

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 ExistentialEnso:

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

Message:

The schema tool allows you to make DateTime fields part of composite IDs, but it causes DateTime conversion errors when you try to actually use them.

This can be fixed with the addition of one simple line that converts DateTimes to a string. I'm not able to find any negative effects of this change, and it makes DateTime composite IDs work perfectly.

Originally created by @doctrinebot on GitHub (Oct 6, 2013). 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 ExistentialEnso: Url: https://github.com/doctrine/doctrine2/pull/813 Message: The schema tool allows you to make DateTime fields part of composite IDs, but it causes DateTime conversion errors when you try to actually use them. This can be fixed with the addition of one simple line that converts DateTimes to a string. I'm not able to find any negative effects of this change, and it makes DateTime composite IDs work perfectly.
admin added the Bug label 2026-01-22 14:19:23 +01:00
admin closed this issue 2026-01-22 14:19:23 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 6, 2013):

Comment created by @doctrinebot:

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

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

@doctrinebot commented on GitHub (Oct 6, 2013):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Oct 6, 2013): 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#3410