DDC-1813: Save column types in ClassMetadataInfo#columnTypes array instead of ClassMetadataInfo#fieldMappings['type'] #2282

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

Originally created by @doctrinebot on GitHub (May 6, 2012).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user rivaros:

Because you save column types in fieldmappings only, type information is not saved for join columns.

Not having type info for join columns, makes it impossible to do call 'convertToPhpValue' on join columns.

For example see a demo of problem here:
https://github.com/doctrine/doctrine2/pull/347

Originally created by @doctrinebot on GitHub (May 6, 2012). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user rivaros: Because you save column types in fieldmappings only, type information is not saved for join columns. Not having type info for join columns, makes it impossible to do call 'convertToPhpValue' on join columns. For example see a demo of problem here: https://github.com/doctrine/doctrine2/pull/347
admin added the BugIncomplete labels 2026-01-22 13:47:16 +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#2282