diff --git a/sites/default/modules/cck/modules/content_migrate/modules/content_migrate.text.inc b/sites/default/modules/cck/modules/content_migrate/modules/content_migrate.text.in index 00c5b82..fe506f8 100644 --- a/sites/default/modules/cck/modules/content_migrate/modules/content_migrate.text.inc +++ b/sites/default/modules/cck/modules/content_migrate/modules/content_migrate.text.inc @@ -60,7 +60,10 @@ function content_migrate_text_field_alter(&$field_value, $instance_value) { // was intended to be a varchar field, so we will make that change. case 'text_textarea': if (empty($field_value['settings']['max_length'])) { - $field_value['type'] = 'text_long'; + //$field_value['type'] = 'text_long'; + $field_value['type'] = 'text'; + $field_value['settings']['max_length'] = 255; + $field_value['messages'][] = t("Invalid field/widget combination: The field '@field' in the bundle '@bundle' is an unlimited length field using a textfield widget, no } break; case 'text_textfield': @@ -138,4 +141,4 @@ function content_migrate_text_data_record_alter(&$record, $field, $instance) { } } } -} \ No newline at end of file +}