Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039978 | Retail Modules | Web POS | public | 2019-01-18 14:24 | 2019-02-04 09:10 |
Reporter | adrianromero | ||||
Assigned To | adrianromero | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR19Q2 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | Gold | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039978: Tapping on the show services button in a negative line raises an error | ||||
Description | If activated all the remote preferences. In a receipt with a return line that has a product with services, tapping on the show services button an error is raised. The exception raised in the backed is: 2019-01-18 13:46:13,038 [http-bio-8080-exec-2] ERROR org.openbravo.mobile.core.process.ProcessHQLQuery - org.openbravo.retail.posterminal.master.Product: Error when generating query: null (null) java.lang.NumberFormatException: null at java.math.BigDecimal.<init>(BigDecimal.java:494) ~[?:1.8.0_191] at java.math.BigDecimal.<init>(BigDecimal.java:383) ~[?:1.8.0_191] at java.math.BigDecimal.<init>(BigDecimal.java:806) ~[?:1.8.0_191] at org.openbravo.retail.posterminal.ServicesHQLCriteria.getHQLFilter(ServicesHQLCriteria.java:31) ~[ServicesHQLCriteria.class:?] at org.openbravo.retail.posterminal.ServicesHQLCriteria$Proxy$_$$_WeldClientProxy.getHQLFilter(ServicesHQLCriteria$Proxy$_$$_WeldClientProxy.java) ~[ServicesHQLCriteria.class:?] at org.openbravo.mobile.core.process.SimpleQueryBuilder$HQLCriteria.getPart(SimpleQueryBuilder.java:572) ~[SimpleQueryBuilder$HQLCriteria.class:?] The error is because in this line: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/web/org.openbravo.retail.posterminal/js/components/servicesfilter.js#l241 [^] minimumSelected === Infinity | ||||
Steps To Reproduce | 1. In backend set all "Enable Remote..." preferences to 'Y' 2. Login in web pos add add a line with the product "Sofa" 3. Select the created line and tap on the button "Return Line". The quantity becomes -1. 4. Tap on the "Show services" button Observe an error is raised | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-01-18 14:24 | adrianromero | New Issue | |||
2019-01-18 14:24 | adrianromero | Assigned To | => Retail | ||
2019-01-18 14:24 | adrianromero | OBNetwork customer | => No | ||
2019-01-18 14:24 | adrianromero | Triggers an Emergency Pack | => No | ||
2019-01-18 14:30 | adrianromero | Description Updated | bug_revision_view_page.php?rev_id=18154#r18154 | ||
2019-01-18 14:30 | adrianromero | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18156#r18156 | ||
2019-01-18 14:49 | marvintm | OBNetwork customer | No => Gold | ||
2019-01-18 14:49 | marvintm | Resolution time | => 1548975600 | ||
2019-01-19 19:28 | rqueralta | Assigned To | Retail => rqueralta | ||
2019-01-22 12:05 | hgbot | Checkin | |||
2019-01-22 12:05 | hgbot | Note Added: 0109066 | |||
2019-01-22 12:05 | hgbot | Status | new => resolved | ||
2019-01-22 12:05 | hgbot | Resolution | open => fixed | ||
2019-01-22 12:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da22035f94c0b492f9a36477f8f53e05641293eb [^] | ||
2019-01-24 10:08 | adrianromero | Note Added: 0109145 | |||
2019-01-24 10:08 | adrianromero | Status | resolved => new | ||
2019-01-24 10:08 | adrianromero | Resolution | fixed => open | ||
2019-01-24 18:02 | adrianromero | Assigned To | rqueralta => adrianromero | ||
2019-01-24 18:02 | adrianromero | Status | new => scheduled | ||
2019-01-30 11:28 | hgbot | Checkin | |||
2019-01-30 11:28 | hgbot | Note Added: 0109324 | |||
2019-01-30 11:28 | hgbot | Status | scheduled => resolved | ||
2019-01-30 11:28 | hgbot | Resolution | open => fixed | ||
2019-01-30 11:28 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da22035f94c0b492f9a36477f8f53e05641293eb [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f0f44765333f38066245922f375090f747317b9f [^] | ||
2019-01-30 11:28 | hgbot | Checkin | |||
2019-01-30 11:28 | hgbot | Note Added: 0109325 | |||
2019-02-03 02:51 | hgbot | Checkin | |||
2019-02-03 02:51 | hgbot | Note Added: 0109456 | |||
2019-02-04 09:10 | marvintm | Review Assigned To | => marvintm | ||
2019-02-04 09:10 | marvintm | Status | resolved => closed | ||
2019-02-04 09:10 | marvintm | Fixed in Version | => RR19Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|