Closed (outdated)
Project:
Commerce Discount
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
4 Oct 2016 at 11:25 UTC
Updated:
20 Oct 2017 at 18:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
t-loComment #3
t-loAdded a check to see if the discount has been loaded before unsetting it.
Comment #4
joelpittetThanks for the patch. Assigning to Ryan as he may better know how this bit should work. Though I have a rough idea, this part of it I don't.
Also could use a test to prove it's doing what's needed.
Comment #5
torgospizzaThis patch is essentially a duplicate of one of the patches in #2621526: Compatibility settings other than "all" causes Discount+Coupon to be removed (some of the patches include essentially the same functionality as what this patch provides).
I nearly consider this a duplicate worth closing, however it might be best to take a piecemeal approach to this issue; therefore we might want to consider writing a test for just this issue and then patching it, and once we have proven that it is a valid fix, re-rolling #2621526: Compatibility settings other than "all" causes Discount+Coupon to be removed to accommodate the change.
Comment #6
t-loCertainly a duplicate but yes, my thinking was to provide a fix for a single issue that was affecting my site and one use case.
This seemed like a nice little chunk that could be pulled out and fix some issues quickly rather than waiting for the whole lot to get in.
Comment #7
rszrama commented