Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048378Retail ModulesWeb POSpublic2022-01-11 15:312023-09-08 07:08
ibrahim_hammani 
gaboflash 
normaltrivialN/A
closedfixed 
5
 
RR23Q4 
No
0048378: Adding logs to InvoiceUtils.createNewInvoice method
In the class org.openbravo.retail.posterminal.utility.InvoiceUtils at line 88 we have an empty catch block, we need to log the exception here.

I had an exception and It was really hard for me to find it because it's muted in that block.

I also think that this will help other people resolve issues quicker.
Just send a json with string content in numeric field, and see that we have an exception but we don't see clear errors details on the console.
No tags attached.
Issue History
2022-01-11 15:31ibrahim_hammaniNew Issue
2022-01-11 15:31ibrahim_hammaniAssigned To => Retail
2022-01-11 15:31ibrahim_hammaniTriggers an Emergency Pack => No
2023-09-04 15:18guillermogilAssigned ToRetail => gaboflash
2023-09-07 01:35hgbotNote Added: 0154565
2023-09-07 06:41guillermogilStatusnew => scheduled
2023-09-08 07:08hgbotResolutionopen => fixed
2023-09-08 07:08hgbotStatusscheduled => closed
2023-09-08 07:08hgbotNote Added: 0154601
2023-09-08 07:08hgbotFixed in Version => RR23Q4
2023-09-08 07:08hgbotNote Added: 0154602

Notes
(0154565)
hgbot   
2023-09-07 01:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1329 [^]
(0154601)
hgbot   
2023-09-08 07:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1329 [^]
(0154602)
hgbot   
2023-09-08 07:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 2e92b198028e2d87deb684219d1c72fe29b7345d
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 08-09-2023 05:08:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/2e92b198028e2d87deb684219d1c72fe29b7345d [^]

Fixed ISSUE-48378: Added log for the exception

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---