Hey all, I am currently working on a D7 upgrade and have found that the CCK migration actually works pretty well. I am currently having a problem in which the default text field created in D6 CCK is read in as a Long Text in D7 fields, that wouldn't be such a big deal, but the only widget available is the multi-row text input. I am wondering if anyone knows of a way to change the Field Type in the DB to 'text' from 'long-text'. I tried doing it in the field config table, but that caused a PHP error.

Comments

tomceek’s picture

Same problem here, any ideas how to solve it?

lapith’s picture

In looking at the CCK migration code it became clear that this happens when you have a text field with an unlimited length.

In D7 the only widget that is allowed for this is the text area widget, if you change the max length of the text field in D6 prior to the migration it should work for you. Also I think you need to keep it under 254 characters in length.