Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056603 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
backport | [POS2] POS | major | sometimes | 2024-09-23 16:47 | 2024-10-01 13:05 | |||||||
Reporter | malsasua | View Status | public | |||||||||
Assigned To | SABARINATH P | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | 24Q2.4 | |||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056603: EWI generated by cashup: business date is null | |||||||||||
Description | Sometimes, when a cashup is processed, an EWI is created with the error message: org.openbravo.base.exception.OBException: Cashup cannot be processed since error occurred in CashClose: Unparseable date: "null" The problem is caused because in the json (attached), the property businessDate is null. The whole stack class is: Caused by: java.text.ParseException: Unparseable date: "null" at java.base/java.text.DateFormat.parse(DateFormat.java:395) at org.openbravo.retail.sessions.CloseSessionHook.exec(CloseSessionHook.java:33) at org.openbravo.retail.posterminal.CashCloseProcessor.executeHooks(CashCloseProcessor.java:222) at org.openbravo.retail.posterminal.CashCloseProcessor.processCashClose(CashCloseProcessor.java:197) at org.openbravo.retail.posterminal.ProcessCashClose.doReconciliationAndInvoices(ProcessCashClose.java:518) | |||||||||||
Steps To Reproduce | n/a | |||||||||||
Proposed Solution | . in this line: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/blob/release/24Q2/src/org/openbravo/retail/sessions/CloseSessionHook.java?ref_type=heads#L30 [^] if businessDate is null then set the current businessDate in the org | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-01 13:05 | marvintm | Type | defect => backport |
2024-10-01 13:05 | marvintm | Target Version | => 24Q2.4 |
Copyright © 2000 - 2009 MantisBT Group |