I have a field in a d6 site which is of type: Text, widget: on/off checkbox. The possible values are: Yes/No
When this field is migrated to d7, all the rows in the new field table get the value 0 (No). The fields that were set to Yes, still get the value 0.

CommentFileSizeAuthor
#1 cck-on_off_values_are_lost-2307749-1.patch798 bytesmsti
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

msti’s picture

This patch corrects the bug. Please test.

msti’s picture

Status: Active » Needs review
thomas.fleming’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that this patch applies cleanly, and fixes the issue of lost boolean values during migration.

drzraf’s picture

this is duplicate: this is exactly the same patch that the one in bug #2212961: $result should be $field_specs in text migration

drzraf’s picture

Status: Reviewed & tested by the community » Closed (duplicate)