My commerce_product_type migrations were failing and I traced the cause to a missing is_new element in the $product_type array. I remedied this by adding $this->addFieldMapping('is_new')->defaultValue(TRUE); but this causes a "is_new" was used as destination field in "" mapping but is not in list of destination fields warning.

CommentFileSizeAuthor
#1 commerce_migrate-is_new-1893004-2.patch625 bytesdwkitchen

Comments

dwkitchen’s picture

Status: Active » Needs review
StatusFileSize
new625 bytes

I believe this patch would fix the problem

mglaman’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Issue summary: View changes
Status: Needs review » Fixed

Fixed! Not sure why it's needed, as it's a commerce_product_ui thing: http://cgit.drupalcode.org/commerce/tree/modules/product/commerce_produc.... But makes sense in that aspect.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.