Having this error when calling commerce_coupon_order_discount_ids.

Comments

garnett2125 created an issue. See original summary.

garnett2125’s picture

Here is a patch that solved my issue.

joelpittet’s picture

Status: Active » Needs review
torgospizza’s picture

Status: Needs review » Reviewed & tested by the community

This patch seems to work for me. It seems like a good safety check to have anyway.

mglaman’s picture

Problem is there is a bigger issue if it is missing the commerce_discounts field, I'd rather find out why than bandaid it. In my opinion

mglaman’s picture

Status: Reviewed & tested by the community » Needs work

This is a wrapper around a bigger issue. I don't want to commit this, as I think it might be a bug in Discount.