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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051484
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2023-01-27 12:502023-02-02 15:20
Reporternicola_uvaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR23Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression levelProduction - Confirmed Stable
Regression date2021-02-24
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ae2f3618d67f107b291a054905dc4e5803174263 [^]
Triggers an Emergency PackNo
Summary

0051484: When the amount of the ticket is more than 1000eur the order go in EWI

DescriptionThe 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 Reproduce1) 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0051513RR23Q1 closedranjith_qualiantech_com When the amount of the ticket is more than 1000eur the order go in EWI 
depends on backport 0051514RR22Q4.2 closedranjith_qualiantech_com When the amount of the ticket is more than 1000eur the order go in EWI 
related to defect 0053547 closedranjith_qualiantech_com Error with the "Count per Amount" configuration of the payment methods 

-  Notes
(0146057)
hgbot (developer)
2023-01-31 06:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1050 [^]
(0146058)
hgbot (developer)
2023-01-31 06:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/465 [^]
(0146179)
hgbot (developer)
2023-02-02 15:20

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: ab8613fc041959b8bc2bfcf92df0e79d4330b4fa
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 30-01-2023 17:24:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/ab8613fc041959b8bc2bfcf92df0e79d4330b4fa [^]

Related to ISSUE-51484: Added Symbols to Locale property
* Added Decimal Symbol & Grouping Symbol to Locale property

---
M web/org.openbravo.mobile.core/app/util/Locale.js
---
(0146180)
hgbot (developer)
2023-02-02 15:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/465 [^]
(0146181)
hgbot (developer)
2023-02-02 15:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1050 [^]
(0146182)
hgbot (developer)
2023-02-02 15:20

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 3170b4b570ab9d81bedf7bbcb9c33a39f4a5d828
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 30-01-2023 17:46:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3170b4b570ab9d81bedf7bbcb9c33a39f4a5d828 [^]

Fixed ISSUE-51484: 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
---

- Issue History
Date Modified Username Field Change
2023-01-27 12:50 nicola_uva New Issue
2023-01-27 12:50 nicola_uva Assigned To => Retail
2023-01-27 12:50 nicola_uva Triggers an Emergency Pack => No
2023-01-27 12:53 nicola_uva Description Updated View Revisions
2023-01-27 13:01 nicola_uva Steps to Reproduce Updated View Revisions
2023-01-30 07:54 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-01-31 06:40 hgbot Note Added: 0146057
2023-01-31 06:40 hgbot Note Added: 0146058
2023-01-31 11:24 marvintm Status new => scheduled
2023-01-31 11:58 ranjith_qualiantech_com Regression level => Production - Confirmed Stable
2023-01-31 11:58 ranjith_qualiantech_com Regression date => 2021-02-24
2023-01-31 11:58 ranjith_qualiantech_com Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ae2f3618d67f107b291a054905dc4e5803174263 [^]
2023-02-02 15:20 hgbot Note Added: 0146179
2023-02-02 15:20 hgbot Note Added: 0146180
2023-02-02 15:20 hgbot Resolution open => fixed
2023-02-02 15:20 hgbot Status scheduled => closed
2023-02-02 15:20 hgbot Note Added: 0146181
2023-02-02 15:20 hgbot Fixed in Version => RR23Q2
2023-02-02 15:20 hgbot Note Added: 0146182
2023-09-29 07:44 ranjith_qualiantech_com Relationship added related to 0053547


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker