Using the latest version of features and the patch at https://drupal.org/node/1973602 to make checkout panes exportable fails because the panes static cache is not cleared and it tries to create panes twice with a Constraint Error.

Attaching a simple patch to support resetting the panes static cache forcing it to refresh the panes data from the DB on demand.

Comments

sarvab’s picture

rszrama’s picture

Status: Needs review » Fixed

In keeping with the pattern of other similar static cache resets, I've added a separate commerce_checkout_panes_reset() function instead.

Commit: http://drupalcode.org/project/commerce.git/commitdiff/5f516be

Status: Fixed » Closed (fixed)

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