Currently the location field's migration handler uses the primary as the "is primary" boolean. The arguments array is always non-empty, array('name' => '', ...), which results in a location_save for every imported row.

Comments

recrit’s picture

Status: Active » Needs review
StatusFileSize
new539 bytes

The patch attached adds an array_filter call to remove any empty arguments.

Status: Needs review » Needs work

The last submitted patch, 1: location-migration-allow-empty-fields-2325727-1.patch, failed testing.