Openbravo Issue Tracking System - POS2
View Issue Details
0056434POS2POSpublic2024-09-03 13:382024-09-13 12:39
malsasua 
Rajesh_18 
normalmajorsometimes
closedfixed 
5
24Q2.2 
24Q3.1 
No
0056434: EWI: org.codehaus.jettison.json.JSONException: JSONObject["offerid"] not found.
EWI: in an Order, an empty element was added to the discountsFromUser->coupons array
(see attachment)
n/a
No tags attached.
blocks defect 0056351 closed Rajesh_18 EWI: org.codehaus.jettison.json.JSONException: JSONObject["offerid"] not found. 
Issue History
2024-09-12 09:39marvintmTypedefect => backport
2024-09-12 09:39marvintmTarget Version => 24Q3.1
2024-09-12 10:02hgbotNote Added: 0169116
2024-09-13 12:39hgbotNote Added: 0169189
2024-09-13 12:39hgbotResolutionopen => fixed
2024-09-13 12:39hgbotStatusscheduled => closed
2024-09-13 12:39hgbotNote Added: 0169190

Notes
(0169116)
hgbot   
2024-09-12 10:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/69 [^]
(0169189)
hgbot   
2024-09-13 12:39   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/69 [^]
(0169190)
hgbot   
2024-09-13 12:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 70aba1e2a44176e8537bc12187a3e87476c528ed
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 12-09-2024 13:30:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/70aba1e2a44176e8537bc12187a3e87476c528ed [^]

Fixed ISSUE-56434: Added log for add Coupon action and while adding coupon, skipped if coupon object is empty

---
M src/org/openbravo/retail/discounts/coupons/OrderLoaderHookCoupons.java
M web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/coupons/user-actions/AddCoupon.js
M web-jspack/org.openbravo.retail.discounts.coupons/src/model/ticket/coupons/user-actions/RemoveCoupon.js
---