Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056351
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorsometimes2024-09-03 13:382024-09-12 09:39
ReportermalsasuaView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionfixedFixed in Version24Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version24Q2.2SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056351: EWI: org.codehaus.jettison.json.JSONException: JSONObject["offerid"] not found.

DescriptionEWI: in an Order, an empty element was added to the discountsFromUser->coupons array
(see attachment)
Steps To Reproducen/a
TagsNo tags attached.
Attached Filespng file icon 2024-09-03_13-32.png [^] (24,451 bytes) 2024-09-03 13:38

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005643424Q3.1 closedRajesh_18 EWI: org.codehaus.jettison.json.JSONException: JSONObject["offerid"] not found. 
depends on backport 005643524Q2.3 closedRajesh_18 EWI: org.codehaus.jettison.json.JSONException: JSONObject["offerid"] not found. 

-  Notes
(0168705)
guillermogil (developer)
2024-09-03 14:31

Missing information about the JSON that has the error:
- When it happened
- Version of the invironment
- Customer affected
- etc...
(0168712)
malsasua (developer)
2024-09-03 17:50

in the spreadsheet, in the first line, Im informing about the date-time, customer and EWI generated
(0168971)
guilleaer (manager)
2024-09-09 16:07
edited on: 2024-09-09 16:07

We are not able to reproduce this problem. We will propose to add some log to get more info in case it happens again

(0169050)
hgbot (developer)
2024-09-10 18:43

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/68 [^]
(0169054)
guillermogil (developer)
2024-09-11 06:11

Can you apply the code of the MR to add more logs?
Let us know if it reproduces again after adding them.
(0169114)
hgbot (developer)
2024-09-12 09:39

Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-56351: 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
---
(0169115)
hgbot (developer)
2024-09-12 09:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/68 [^]

- Issue History
Date Modified Username Field Change
2024-09-03 13:38 malsasua New Issue
2024-09-03 13:38 malsasua Assigned To => Retail
2024-09-03 13:38 malsasua File Added: 2024-09-03_13-32.png
2024-09-03 13:38 malsasua Triggers an Emergency Pack => No
2024-09-03 14:31 guillermogil Note Added: 0168705
2024-09-03 14:31 guillermogil Assigned To Retail => malsasua
2024-09-03 14:31 guillermogil Status new => feedback
2024-09-03 17:50 malsasua Note Added: 0168712
2024-09-03 17:50 malsasua Status feedback => new
2024-09-04 07:08 guillermogil Assigned To malsasua => Retail
2024-09-04 08:44 guillermogil Status new => acknowledged
2024-09-04 08:44 guillermogil version => 24Q2.2
2024-09-04 10:46 Rajesh_18 Assigned To Retail => Rajesh_18
2024-09-04 10:47 Rajesh_18 Status acknowledged => scheduled
2024-09-09 16:07 guilleaer Note Added: 0168971
2024-09-09 16:07 guilleaer Note Edited: 0168971 View Revisions
2024-09-10 18:43 hgbot Note Added: 0169050
2024-09-11 06:11 guillermogil Note Added: 0169054
2024-09-11 06:11 guillermogil Assigned To Rajesh_18 => malsasua
2024-09-11 06:11 guillermogil Status scheduled => feedback
2024-09-12 09:38 guillermogil Status feedback => scheduled
2024-09-12 09:38 guillermogil Assigned To malsasua => Rajesh_18
2024-09-12 09:39 hgbot Resolution open => fixed
2024-09-12 09:39 hgbot Status scheduled => closed
2024-09-12 09:39 hgbot Note Added: 0169114
2024-09-12 09:39 hgbot Note Added: 0169115
2024-09-12 09:39 marvintm Status closed => new
2024-09-12 09:39 marvintm Resolution fixed => open
2024-09-12 09:39 marvintm Status new => scheduled
2024-09-12 09:39 marvintm Status scheduled => resolved
2024-09-12 09:39 marvintm Fixed in Version => 24Q4
2024-09-12 09:39 marvintm Resolution open => fixed
2024-09-12 09:39 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker