If I don't set the "Always regenerate SKU" checkbox on the product edit page then my SKU's always have the temporary code. The attached patch fixes this and will re-generate the SKU if it's still a temporary one.

CommentFileSizeAuthor
#1 commerce_autosku-1467248.patch773 byteshadsie
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hadsie’s picture

FileSize
773 bytes
hadsie’s picture

Title: SKU's always set to "temporaray:#####" » SKU's always set to "temporary:#####"
rbayliss’s picture

Status: Needs review » Fixed

Jeez. Thanks for the patch, hadsie. Fixed and added a test to make sure this doesn't happen again.

Status: Fixed » Closed (fixed)

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