Closed (fixed)
Project:
Drupal-to-Drupal data migration
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2012 at 20:21 UTC
Updated:
21 Sep 2012 at 21:51 UTC
This is a very minor issue that is probably only going to show up for a handful of people. If a d6 source field has no columns defined, the unserialize call in populateSourceFieldInfo() doesn't return an empty array. This results in a php warning on the foreach a few lines down. I'm not sure if this case is even one that anyone else would run into (I have some custom fields I'm dealing with that may be malformed). The attached patch just does a quick sanity check to get rid off these errors.
| Comment | File | Size | Author |
|---|---|---|---|
| d2d_d6_empty_field_columns.patch | 588 bytes | seanbfuller |
Comments
Comment #1
mikeryanCan't hurt to check - I applied this to D5 and D7 as well, and went with a !empty just to be safe...
Thanks.