title: Issue with drupal 7 migrate (and migrate extras) module. Address fields not migrating
body: <p>I have an issue with a Drupal 7 data migration whereby I am using the migrate module with migrate extras and an address field.  My entire migration is working fine except for the address field data.</p>
  
  <p>There seem to be plenty OLD examples around, but none that use the subfield notation that migrate supports.  I am must be missing something really obvious.
  Many thanks in advance!</p>
  
  <p>Here's my code:</p>
  
  <pre><code>class DOCInfoMigration extends JoomlaMigration {
   public function __construct() {
  
     parent::__construct();
  
     $this-&gt;description = t('Loads early profiles data to DOCInfo profile');
  
      /********* Source *********/
      // MySQL database as source
     $query = Database::getConnection('default', 'default')
              -&gt;select('DOCInfo', 'u')
              -&gt;fields('u', array('uid',
                                  'first',
                                  'last',
                                  'phone',
                                  'phonetype',
                                  'dob',
                                  'gender',
                                  'membertype',
                                  'year',
                                  'make',
                                  'model',
                                  'new_used',
                                  'tshirt_it',
                                  'street',
                                  'apt',
                                  'city',
                                  'state',
                                  'zipcode'));
  
     $this-&gt;source = new MigrateSourceSQL($query);
  
      $this-&gt;destination = new MigrateDestinationProfile2('doc_info'); // use machine name of profile
  
      /*********** Map **********/
      // Create a "map" which is used to translate primary keys*/
     $this-&gt;map = new MigrateSQLMap($this-&gt;machineName,
       array(
         'uid' =&gt; array(
           'type' =&gt; 'int',
           'alias'=&gt; 'u'
         ),
         ),
       MigrateDestinationProfile2::getKeySchema()      
     );
  
     /*********** Connect DOCInfo to user **********/
     $this-&gt;addFieldMapping('uid', 'uid');
  
     /******* Field mappings ******/
     $this-&gt;addFieldMapping('language')-&gt;defaultValue('en');
     $this-&gt;addFieldMapping('field_fname','first');
     $this-&gt;addFieldMapping('field_fname:language')-&gt;defaultValue('en');
  
     $this-&gt;addFieldMapping('field_lname','last');
     $this-&gt;addFieldMapping('field_lname:language')-&gt;defaultValue('en');
  
     $this-&gt;addFieldMapping('field_home_phone','phone');
     $this-&gt;addFieldMapping('field_home_phone:language')-&gt;defaultValue('en');
     $this-&gt;addFieldMapping('field_phone_type','phonetype');
  
     $this-&gt;addFieldMapping('field_dob','dob');
     $this-&gt;addFieldMapping('field_doc_gender','gender');
  
     $this-&gt;addFieldMapping('field_doctype','membertype');
     $this-&gt;addFieldMapping('field_docbikeyear','year');
     $this-&gt;addFieldMapping('field_docmake','make');
     $this-&gt;addFieldMapping('field_docmodel','model');
     $this-&gt;addFieldMapping('field_docmodel:language')-&gt;defaultValue('en');
     $this-&gt;addFieldMapping('field_docnewused','new_used');
     $this-&gt;addFieldMapping('field_italian_t_shirt','tshirt_it');
  
     $this-&gt;addFieldMapping('field_address:thoroughfare','street');
     $this-&gt;addFieldMapping('field_address:premise','apt');
     $this-&gt;addFieldMapping('field_address:locality','city');
     $this-&gt;addFieldMapping('field_address:administrative_area','state');
     $this-&gt;addFieldMapping('field_address:postal_code','zipcode');
  
  
     /*** Unmapped destination fields ***/
     $this-&gt;addUnmigratedDestinations(array('revision_uid',
                                            'field_address',
                                            'field_address:sub_administrative_area',
                                            'field_address:dependent_locality',
                                            'field_address:sub_premise',
                                            'field_address:organisation_name',
                                            'field_address:name_line',
                                            'field_address:first_name',
                                            'field_address:last_name',
                                            'field_address:data',
                                            'field_dob:timezone',
                                            'field_dob:rrule',
                                            'field_dob:to',));
   }
  </code></pre>