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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | commerce-reset-checkout-panes-static-cache-2137553-1.patch | 1.12 KB | sarvab |
Comments
Comment #1
sarvab commentedComment #2
rszrama commentedIn 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