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.
Experienced with a text_list field:
* have an empty field in the source
* migrate it
Result: destination field seems empty, but the field label is shown.
Debugging shows that the field is malformed, containing a single NULL entry.
Array
(
[und] => Array
(
[0] => Array
(
[value] =>
)
)
)
while manual saving gives:
Array
(
)
Comment | File | Size | Author |
---|---|---|---|
#2 | migrate-2769217-2-Migrated-empty-field-malformed-field-l.patch | 1.05 KB | geek-merlin |
|
Comments
Comment #2
geek-merlinPatch flying in that fixes this for me.
Comment #3
pifagorComment #5
pifagorComment #7
vinmassaro CreditAttribution: vinmassaro commented@geek-merlin I have posted a patch to address an issue caused by this change where 0 source values are no longer being mapped to text_list fields: #3164232: Regression on text_list fields caused by change in #2769217
Can you review and make sure it still works for you? Thanks!
Comment #8
joseph.olstadhttps://www.drupal.org/project/migrate/releases/7.x-2.12