Sometimes when I am executing commerce_shipping_delete_shipping_line_items in an AJAX callback function, it returns EntityMetadataWrapperException: Unable to get the data property type

Issue is very similar to https://www.drupal.org/node/2275495

So the patch is also similar

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

id.tarzanych’s picture

id.tarzanych’s picture

googletorp’s picture

Status: Needs review » Closed (won't fix)

If the patch works, it's because of an error in commerce (the order having a reference to a line item that doesn't exist) and thus it should be handle there.