Function commerce_coupon_load_coupon_code_discounts does not work since commerce_discount module renamed schema field "enabled" to "status"
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 2552657-13.patch | 3.17 KB | mglaman |
| #11 | 2552657-11.patch | 3.16 KB | mglaman |
| #8 | 2552657-8.patch | 2.58 KB | mglaman |
| #4 | commerce_coupon_load_coupon_code_discounts.patch | 1.15 KB | xsdx |
Comments
Comment #2
drupov commentedThe problem is also that the function queries for a non-existing field
commerce_coupon_referenceComment #3
xsdx commentedConfirming the bug exists
Comment #4
xsdx commentedProviding patch for issue
Comment #5
xsdx commentedPlease someone review the patch. Tnx
Comment #6
tamerzg commentedPatch in #4 works for me.
Comment #7
mglamanLinking related issue which caused changed.
Comment #8
mglamanUpdated patch which also adds test.
Comment #10
mglamanDid this function ever work? The
commerce_coupon_referenceis not found anywhere in current code base.Edit: Re-read. That is what #2 confirms, and #4 fixes.
Comment #11
mglamanOkay, this should pass, now.
Comment #13
mglamanOops. PhpStorm converted to short array syntax in new test.
Comment #15
mglamanCommitted. Thanks everyone!