Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.8.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
When editing a coupon as an admin for the company, you can change the company in the drop-down of the upper-right to a different company, then set packages and save the coupon. This will move it to the new company. However, coupons should not move companies.
- Update the Coupons model to disallow the company_id to be set on edit
- Update the edit coupon controller to redirect to the coupon listing page if the coupon provided does not belong to the current company ID.
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Sprint | 4.8.0 Sprint 5 [ 96 ] |

Status | Open [ 1 ] | In Progress [ 3 ] |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 15 minutes [ 900 ] | |
Worklog Id | 12768 [ 12768 ] |

Status | In Review [ 5 ] | Closed [ 6 ] |
Link | This issue is duplicated by CORE-3316 [ CORE-3316 ] |