This project is not covered by Drupal’s security advisory policy.

If (in any of your Drupal 6 nodes and node types) there are 'Text fields' having a widget type 'Text field' (a single row), and no 'Maximum length' defined, AND field contents that is longer than 255 characters, you will have a problem when migrating from Drupal 6 to 7 with CCK Migrate, the upgrade process will halt and you'll have to start over.

To fix this, you have two options: 1) edit the field settings and make the widget type a 'Text area (multiple rows)', 2) edit the field contents and make it maximum 255 characters. If you do one, you won't have to do the other. You may want to do 1) unless you only have few field contents to edit.

After making any edits re-run the module and see if there still are fields reported. Fix and repeat until no fields are reported.

After getting to a point where no fields are reported on this page, when you proceed to CCK Migrate (in Drupal 7) you may still see the message 'Invalid field/widget combination: The field 'something' in the bundle 'something' is an unlimited length field using a textfield widget, not allowed in D7. The field length will be set to 255.' . This is because you may still have single row text fields without maximum length defined, but because you won't have any oversized (> 255) field data anymore, CCK Migrate will handle it and do what it says in the message.

See more at https://www.drupal.org/node/1144136 and https://www.drupal.org/node/1117028.

This code is based on Mark Jordan's work at https://gist.github.com/mjordan/6175870.

Project information

Releases