DDC-1647: DateTime field returns to string if used in association #2068

Open
opened 2026-01-22 13:39:26 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 10, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user alexeyshockov:

I have two objects with one-to-many accociation, based on date ("date" type column in all two objects):

@ORM\JoinColumn(name="date", referencedColumnName="date"),

When I establish accociation, I get strange behaviour — without association date was DateTime, after — string.

Originally created by @doctrinebot on GitHub (Feb 10, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user alexeyshockov: I have two objects with one-to-many accociation, based on date ("date" type column in all two objects): ``` @ORM\JoinColumn(name="date", referencedColumnName="date"), ``` When I establish accociation, I get strange behaviour — without association date was DateTime, after — string.
admin added the Bug label 2026-01-22 13:39:26 +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#2068