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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048378
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POStrivialN/A2022-01-11 15:312023-09-08 07:08
Reporteribrahim_hammaniView Statuspublic 
Assigned Togaboflash 
PrioritynormalResolutionfixedFixed in VersionRR23Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048378: Adding logs to InvoiceUtils.createNewInvoice method

DescriptionIn 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.
Steps To ReproduceJust 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0154565)
hgbot (developer)
2023-09-07 01:35

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1329 [^]
(0154601)
hgbot (developer)
2023-09-08 07:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1329 [^]
(0154602)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2022-01-11 15:31 ibrahim_hammani New Issue
2022-01-11 15:31 ibrahim_hammani Assigned To => Retail
2022-01-11 15:31 ibrahim_hammani Triggers an Emergency Pack => No
2023-09-04 15:18 guillermogil Assigned To Retail => gaboflash
2023-09-07 01:35 hgbot Note Added: 0154565
2023-09-07 06:41 guillermogil Status new => scheduled
2023-09-08 07:08 hgbot Resolution open => fixed
2023-09-08 07:08 hgbot Status scheduled => closed
2023-09-08 07:08 hgbot Note Added: 0154601
2023-09-08 07:08 hgbot Fixed in Version => RR23Q4
2023-09-08 07:08 hgbot Note Added: 0154602


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker