If a product type has not been created, products can still be built without any type set.

CommentFileSizeAuthor
#2 not_existing_type_fix.7.x.patch845 byteshenryhu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

henryhu created an issue. See original summary.

henryhu’s picture

I created a patch to fix it: using default type in the case.

AndyF’s picture

Status: Active » Fixed

Hi, thanks for taking the time to share.

Sadly there's a major rewrite of this module waiting in another issue (#2016561: Why should the user still select a bundle?), blocked on a patch landing in Commerce Feeds. I've created a new branch for work done in the meantime and added your fix, slightly modified.

1331a8c

By the way, for future reference if you submit a patch, you can submit it against -dev and mark the issue as needs review.

Thanks again

Status: Fixed » Closed (fixed)

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