Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051513 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | have not tried | 2023-01-27 12:50 | 2023-02-13 12:58 | |||
Reporter | nicola_uva | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR23Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051513: When the amount of the ticket is more than 1000eur the order go in EWI | |||||||
Description | The problem is due to the fact that on WEBPOS when is made this operation OB.App.Locale.formatAmount(1000) the result is "1,000" and in the backoffice is failing(see error below) during the order synchronization java.lang.NumberFormatException: Character , is neither a decimal digit number, decimal point, nor "e" notation exponential mark. at java.base/java.math.BigDecimal.<init>(BigDecimal.java:522) at java.base/java.math.BigDecimal.<init>(BigDecimal.java:405) at java.base/java.math.BigDecimal.<init>(BigDecimal.java:838) at org.openbravo.retail.posterminal.UpdateCashup.refreshCountPerAmountEntries(UpdateCashup.java:407) at org.openbravo.retail.posterminal.UpdateCashup.createPaymentMethodCashUp(UpdateCashup.java:379) at org.openbravo.retail.posterminal.UpdateCashup.updateOrCreateCashupInfo(UpdateCashup.java:317) at org.openbravo.retail.posterminal.UpdateCashup.getAndUpdateCashUp(UpdateCashup.java:154) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:207) | |||||||
Steps To Reproduce | 1) Enable "Count Per Amount" for Cash "Payment Method" in Channel Touchpoint Type 2) Login on webpos 3) create a ticket more than 1000eur 4) finalize ticket 5) Order go in EWI | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0146199) hgbot (developer) 2023-02-03 07:46 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/468 [^] |
(0146201) hgbot (developer) 2023-02-03 07:46 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1055 [^] |
(0146444) hgbot (developer) 2023-02-13 12:58 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: b142d001f8948f528bf16c1cad7664049369b027 Author: Ranjith S R <ranjith@qualiantech.com> Date: 03-02-2023 10:12:16 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/b142d001f8948f528bf16c1cad7664049369b027 [^] Related to ISSUE-51513: Added Symbols to Locale property * Added Decimal Symbol & Grouping Symbol to Locale property --- M web/org.openbravo.mobile.core/app/util/Locale.js --- |
(0146445) hgbot (developer) 2023-02-13 12:58 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/468 [^] |
(0146446) hgbot (developer) 2023-02-13 12:58 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 8a7cac7a8f6167c1a76fc65d6f3029e7e7281344 Author: Ranjith S R <ranjith@qualiantech.com> Date: 13-02-2023 11:58:11 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8a7cac7a8f6167c1a76fc65d6f3029e7e7281344 [^] Fixed ISSUE-51513: CountPerAmount should be updated with Amount without symbols --- M web-test/model/business-object/ticket/CompleteTicketUtils.test.js M web-test/model/business-object/ticket/actions/AddPayment.test.js M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js --- |
(0146447) hgbot (developer) 2023-02-13 12:58 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1055 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2023-01-31 11:24 | marvintm | Type | defect => backport |
2023-01-31 11:24 | marvintm | Target Version | pi => RR23Q1 |
2023-02-03 07:46 | hgbot | Note Added: 0146199 | |
2023-02-03 07:46 | hgbot | Note Added: 0146201 | |
2023-02-13 12:58 | hgbot | Note Added: 0146444 | |
2023-02-13 12:58 | hgbot | Note Added: 0146445 | |
2023-02-13 12:58 | hgbot | Resolution | open => fixed |
2023-02-13 12:58 | hgbot | Status | scheduled => closed |
2023-02-13 12:58 | hgbot | Fixed in Version | => RR23Q1 |
2023-02-13 12:58 | hgbot | Note Added: 0146446 | |
2023-02-13 12:58 | hgbot | Note Added: 0146447 |
Copyright © 2000 - 2009 MantisBT Group |