After upgrading from drupal 6 to drupal 7 the value of the following fields are lost:
field_language
field_experience_level
field_category
When I edit the post that has these fields, the fields value is set to "-none-" instead of the exact value like "Visual Basic". It seems that the value is not associated anymore with those fields.
Only the field_tags is left intact.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | option_widgets_empty-1371368.2.patch | 1011 bytes | bigjim |
| #1 | option_widgets_empty-1371368.1.patch | 1016 bytes | bigjim |
Comments
Comment #1
bigjim commentedI have an similar issue, the attached patch fixed it for me
The issue appears to be the $record array() passed to the hook_content_migrate_data_record_alter() contains element keys based on the schema of the CCK DB tables from Drupal 6, ie *_value, and not using the Drupal 7 schema, ie *_tid. This causes the _content_migrate_batch_process_migrate_data() function to ignore the value.
Comment #2
bigjim commentedchanging status
Comment #3
bigjim commentedWhile in the neighborhood I discovered that the D6 version of content_taxonomy had null values for the values in the DB tables. This patch now also stops those form being imported into D7
Comment #4
damienmckennaThis was fixed in #1208164: migration from D6 fails for Content Taxonomy fields.