Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-1813

Save column types in ClassMetadataInfo#columnTypes array instead of ClassMetadataInfo#fieldMappings['type']

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            rivaros ross neacoders
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: