Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#1 | 2387301_shipping_line_item_delete_exception_fix.patch | 729 bytes | id.tarzanych |
Comments
Comment #1
id.tarzanych CreditAttribution: id.tarzanych commentedComment #2
id.tarzanych CreditAttribution: id.tarzanych commentedComment #3
googletorp CreditAttribution: googletorp commentedIf 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.