Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | cck-on_off_values_are_lost-2307749-1.patch | 798 bytes | msti |
Comments
Comment #1
mstiThis patch corrects the bug. Please test.
Comment #2
mstiComment #3
thomas.fleming CreditAttribution: thomas.fleming commentedI can confirm that this patch applies cleanly, and fixes the issue of lost boolean values during migration.
Comment #4
drzraf CreditAttribution: drzraf commentedthis is duplicate: this is exactly the same patch that the one in bug #2212961: $result should be $field_specs in text migration
Comment #5
drzraf CreditAttribution: drzraf commented