DDC-64: missing column type "clob" #79

Closed
opened 2026-01-22 12:26:23 +01:00 by admin · 7 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 27, 2009).

Originally assigned to: @jwage on GitHub.

Jira issue originally created by user chriswest:

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

Patch attached.

Originally created by @doctrinebot on GitHub (Oct 27, 2009). Originally assigned to: @jwage on GitHub. Jira issue originally created by user chriswest: The legacy column type "clob" is not recognized by "Doctrine\ORM\Tools\ConvertDoctrine1Schema". It should be correctly mapped to "text". Patch attached.
admin added the Bug label 2026-01-22 12:26:23 +01:00
admin closed this issue 2026-01-22 12:26:23 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 27, 2009):

Comment created by romanb:

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?

@doctrinebot commented on GitHub (Oct 27, 2009): Comment created by romanb: 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?
Author
Owner

@doctrinebot commented on GitHub (Oct 27, 2009):

Comment created by romanb:

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

@doctrinebot commented on GitHub (Oct 27, 2009): Comment created by romanb: To clarify: This is a real issue, just patched in the wrong location :)
Author
Owner

@doctrinebot commented on GitHub (Oct 27, 2009):

Comment created by chriswest:

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 :)

@doctrinebot commented on GitHub (Oct 27, 2009): Comment created by chriswest: 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 :)
Author
Owner

@doctrinebot commented on GitHub (Oct 29, 2009):

Comment created by chriswest:

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

@doctrinebot commented on GitHub (Oct 29, 2009): Comment created by chriswest: Attached the correct patch "legacy_column_map_patch.patch" is the correct one. How can I delete obsolete attachments in jira?
Author
Owner

@doctrinebot commented on GitHub (Nov 11, 2009):

Comment created by @jwage:

Thanks for the ticket and patch.

@doctrinebot commented on GitHub (Nov 11, 2009): Comment created by @jwage: Thanks for the ticket and patch.
Author
Owner

@doctrinebot commented on GitHub (Nov 11, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Nov 11, 2009): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 2 attachments from Jira into https://gist.github.com/1680a98d3813bbcd33d1

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 2 attachments from Jira into https://gist.github.com/1680a98d3813bbcd33d1 - [10104_missing_type_clob_patch.patch](https://gist.github.com/1680a98d3813bbcd33d1#file-10104_missing_type_clob_patch-patch) - [10117_legacy_column_map_patch.patch](https://gist.github.com/1680a98d3813bbcd33d1#file-10117_legacy_column_map_patch-patch)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#79