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

        rivaros ross neacoders created issue -
        rivaros ross neacoders made changes -
        Field Original Value New Value
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 13686 ] jira-feedback [ 14060 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14060 ] jira-feedback2 [ 15924 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15924 ] jira-feedback3 [ 18176 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=DDC-1813}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: