Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
doctrinebot opened this issue May 6, 2012 · 2 comments
Assignees

Comments

@doctrinebot
Copy link

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:
#347

@malukenho
Copy link

@Ocramius should we move it do 3.x if still valid?

@Ocramius
Copy link
Member

Ocramius commented Jan 5, 2017

This is already done internally now, but indeed ORM 3 will have type info for all columns, including join columns.

Closing here.

@Ocramius Ocramius closed this as completed Jan 5, 2017
@Ocramius Ocramius assigned Ocramius and unassigned beberlei Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants