I'm trying to use the migrate module to import data from a mysql table to Drupal 7. I've created a content type with a field type of boolean and used "single on/off checkbox" as the widget. So in the migration destinations the field is (list_boolean).
The data in the database is integer (0/1).
I set the field mapping: $this->addFieldMapping('field_my_event', 'my_event');
However, none of the 1's get stored as 1 in the field_my_event table when migrated.
I tried also forcing the value to a boolean value of TRUE/FALSE in the prepareRow hook, but that didn't make a difference.
versions I'm working with: Drupal 7.33 and Migrate 7.x-2.6-rc1
Can someone steer me in the right direction?