Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA2
    • Fix Version/s: 2.0-ALPHA3
    • Component/s: ORM, Tools
    • Security Level: All
    • Labels:
      None

      Description

      The legacy column type "clob" is not recognized by "Doctrine\ORM\Tools\ConvertDoctrine1Schema". It should be correctly mapped to "text".

      Patch attached.

      1. legacy_column_map_patch.patch
        1 kB
        Christian Ehmig
      2. missing_type_clob_patch.patch
        0.6 kB
        Christian Ehmig

        Activity

        Hide
        Roman S. Borschel added a comment -

        As you've seen, "text" is the D2 type that maps to a text/clob. This either needs to be fixed in the schema managers (Doctrine\DBAL\Schema\... if they output 'clob' as a portable column type thats a bug) or in the conversion code of convert-mapping.

        Where are you experiencing this? On the CLI with convert-mapping or when reverse-engineering a database?

        Show
        Roman S. Borschel added a comment - As you've seen, "text" is the D2 type that maps to a text/clob. This either needs to be fixed in the schema managers (Doctrine\DBAL\Schema\... if they output 'clob' as a portable column type thats a bug) or in the conversion code of convert-mapping. Where are you experiencing this? On the CLI with convert-mapping or when reverse-engineering a database?
        Hide
        Roman S. Borschel added a comment -

        To clarify: This is a real issue, just patched in the wrong location

        Show
        Roman S. Borschel added a comment - To clarify: This is a real issue, just patched in the wrong location
        Hide
        Christian Ehmig added a comment -

        Yes, I experienced it when converting Doctrine 1.x YAML to 2.0. The output is still "clob" - You are right - wrong patch location then

        Show
        Christian Ehmig added a comment - Yes, I experienced it when converting Doctrine 1.x YAML to 2.0. The output is still "clob" - You are right - wrong patch location then
        Hide
        Christian Ehmig added a comment -

        Attached the correct patch "legacy_column_map_patch.patch" is the correct one. How can I delete obsolete attachments in jira?

        Show
        Christian Ehmig added a comment - Attached the correct patch "legacy_column_map_patch.patch" is the correct one. How can I delete obsolete attachments in jira?
        Hide
        Jonathan H. Wage added a comment -

        Thanks for the ticket and patch.

        Show
        Jonathan H. Wage added a comment - Thanks for the ticket and patch.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Christian Ehmig
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: