Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040934 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Sessions | major | random | 2019-05-22 10:40 | 2019-06-27 16:53 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fd1e9fcf97a7 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 10017 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040934: [Sessions] Completing multiple open till simultaneously can cause NumberFormatExceptions | |||||||
Description | With the Sessions module installed, completing multiple open tills at the same time (which can happen in a production environment when all terminals open the tills at the same time) can lead to NumberFormatException thrown in the server, leaving some of the Open Tills in the Errors While Importing POS Data window, with the following error: ava.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:601) at java.lang.Long.parseLong(Long.java:631) at java.text.DigitList.getLong(DigitList.java:195) at java.text.DecimalFormat.parse(DecimalFormat.java:2051) at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1869) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1514) at java.text.DateFormat.parse(DateFormat.java:364) at org.openbravo.retail.sessions.OpenSessionPOS.saveRecord(OpenSessionPOS.java:66) | |||||||
Steps To Reproduce | * | |||||||
Proposed Solution | Check if the same solution of 40474 should be applied over the following two clases: OpenSessionPOS SetBusinessDate | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0112763) hgbot (developer) 2019-06-13 00:46 |
Repository: erp/pmods/org.openbravo.retail.sessions Changeset: fd1e9fcf97a78d890b0ee54fa98528014eb5e8ff Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Wed Jun 12 18:36:49 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/fd1e9fcf97a78d890b0ee54fa98528014eb5e8ff [^] Fixed issue 40934: [Sessions] Completing multiple open till simultaneously can cause NumberFormatExceptions - If these two classes are called at the same time from multiple request, error occurs while parsing business date due to static identifier for DateFormat. --- M src/org/openbravo/retail/sessions/OpenSessionPOS.java M src/org/openbravo/retail/sessions/SetBusinessDate.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-05-22 10:40 | ngarcia | New Issue | |
2019-05-22 10:40 | ngarcia | Assigned To | => Retail |
2019-05-22 10:40 | ngarcia | OBNetwork customer | => Gold |
2019-05-22 10:40 | ngarcia | Support ticket | => 10017 |
2019-05-22 10:40 | ngarcia | Resolution time | => 1560290400 |
2019-05-22 10:40 | ngarcia | Triggers an Emergency Pack | => No |
2019-05-22 10:40 | ngarcia | Issue generated from | 0040474 |
2019-05-22 10:40 | ngarcia | Relationship added | related to 0040474 |
2019-05-22 10:40 | ngarcia | Issue Monitored: networkb | |
2019-05-28 04:59 | rqueralta | Assigned To | Retail => rqueralta |
2019-05-28 04:59 | rqueralta | Status | new => scheduled |
2019-06-13 00:46 | hgbot | Checkin | |
2019-06-13 00:46 | hgbot | Note Added: 0112763 | |
2019-06-13 00:46 | hgbot | Status | scheduled => resolved |
2019-06-13 00:46 | hgbot | Resolution | open => fixed |
2019-06-13 00:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/fd1e9fcf97a78d890b0ee54fa98528014eb5e8ff [^] |
2019-06-27 16:53 | guilleaer | Review Assigned To | => guilleaer |
2019-06-27 16:53 | guilleaer | Status | resolved => closed |
2019-06-27 16:53 | guilleaer | Fixed in Version | => RR19Q3 |
Copyright © 2000 - 2009 MantisBT Group |