This pull request fixes an issue where you could end up in an infinite loop when querying orders.
This infinite loop was happening due to some code which handles filtering out deleted products from an order's line items, we should be fine to remove the removeLineItems method since we're still returning null (related #734).
This PR also fixes an issue with the UpdateClassReferences upgrade script, where it couldn't handle cases where shipping_method was an array, instead of a string.
This pull request fixes an issue where you could end up in an infinite loop when querying orders.
This infinite loop was happening due to some code which handles filtering out deleted products from an order's line items, we should be fine to remove the
removeLineItems
method since we're still returningnull
(related #734).This PR also fixes an issue with the
UpdateClassReferences
upgrade script, where it couldn't handle cases whereshipping_method
was an array, instead of a string.Fixes #1043.