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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053547
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-09-25 22:502023-10-30 07:05
ReportersofidossantView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053547: Error with the "Count per Amount" configuration of the payment methods

DescriptionIf we configure the "Count per Amount" check in a payment method, and when we use the payment method in the webPOS, paying a large amount, the following ewi is generated:

java.lang.NumberFormatException: Character array is missing "e" notation exponential mark.
    at java.base/java.math.BigDecimal.<init>(BigDecimal.java:581)
    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:343)
    at org.openbravo.retail.posterminal.UpdateCashup.createPaymentMethodCashUp(UpdateCashup.java:315)
    at org.openbravo.retail.posterminal.UpdateCashup.updateOrCreateCashupInfo(UpdateCashup.java:258)
    at org.openbravo.retail.posterminal.UpdateCashup.getAndUpdateCashUp(UpdateCashup.java:138)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:207)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:204)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:156)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:88)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:54)
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:393)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:310)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
Steps To Reproduce1) Configurate Count per Amount in a payment.
2) Go to the webPOS and do a order with a amount big (changed the price or with quantity, more that the 1 million)
3) check the ewis


Video
https://drive.google.com/file/d/1MnfRahIkwWIbhpO1fpVgGiRpjaTeu6rb/view?usp=sharing [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051484pi closedranjith_qualiantech_com When the amount of the ticket is more than 1000eur the order go in EWI 

-  Notes
(0155424)
hgbot (developer)
2023-10-03 12:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1371 [^]
(0156170)
sofidossant (developer)
2023-10-23 13:32

any news?
(0156460)
hgbot (developer)
2023-10-30 07:05

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1371 [^]
(0156461)
hgbot (developer)
2023-10-30 07:05

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f92967a4fc05dbac6a9e5feb60b1ed1956337ead
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 30-10-2023 06:04:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f92967a4fc05dbac6a9e5feb60b1ed1956337ead [^]

Fixed ISSUE-53547: GroupingSymbol should be removed in CountPerAmount

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---

- Issue History
Date Modified Username Field Change
2023-09-25 22:50 sofidossant New Issue
2023-09-25 22:50 sofidossant Assigned To => Retail
2023-09-25 22:50 sofidossant Triggers an Emergency Pack => No
2023-09-25 22:53 sofidossant version RR22Q2 => RR22Q2.3
2023-09-25 22:53 sofidossant Steps to Reproduce Updated View Revisions
2023-09-25 22:59 Practics Issue Monitored: Practics
2023-09-26 07:13 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-09-26 13:11 sofidossant version RR22Q2.3 => pi
2023-09-26 13:11 sofidossant Steps to Reproduce Updated View Revisions
2023-09-29 07:44 ranjith_qualiantech_com Relationship added related to 0051484
2023-09-29 09:40 ranjith_qualiantech_com Status new => scheduled
2023-10-03 12:38 hgbot Note Added: 0155424
2023-10-23 13:32 sofidossant Note Added: 0156170
2023-10-30 07:05 hgbot Note Added: 0156460
2023-10-30 07:05 hgbot Resolution open => fixed
2023-10-30 07:05 hgbot Status scheduled => closed
2023-10-30 07:05 hgbot Fixed in Version => RR24Q1
2023-10-30 07:05 hgbot Note Added: 0156461


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker