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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041204
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2019-06-28 14:002019-07-12 15:01
ReporterxabiermerinoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR19Q2.1
StatusclosedFix in branchFixed in SCM revisionccc3efbb85ba
ProjectionnoneETAnoneTarget VersionRR19Q2.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041204: Errors while importing when synchronize a ticket with a discount of 100% and Generate Invoices active

DescriptionWhen you have the check 'Generate Invoice' activate and try to synchronize a ticket with a discount of the 100% an error while importing happens:

java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.get(ArrayList.java:440)
    at org.hibernate.collection.internal.PersistentBag.get(PersistentBag.java:452)
    at org.openbravo.retail.posterminal.utility.InvoiceUtils.createPaymentTerms(InvoiceUtils.java:751)
Steps To Reproduce- Configure a Price adjustment of 100% por avalanche
- Configure a POS Terminal type for generate invoices
- Create a ticket of avalanche and pay it
- realize that there is a new the errors while importing
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0041203 closedranjith_qualiantech_com Errors while importing when synchronize a ticket with a discount of 100% and Generate Invoices active 

-  Notes
(0113302)
hgbot (developer)
2019-07-11 18:56

Repository: retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal
Changeset: 6b146064a7193f9f6bc09547be4ae6714f7753fa
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 03 19:08:33 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/6b146064a7193f9f6bc09547be4ae6714f7753fa [^]

Fixed issue 41204 : Invoice Payment schedule should be validated before creating payment terms

* If invoice amount is zero, then invoice payment schedule will not be created.
  When creating invoice payment terms, Invoice Payment schedule should be validated

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---
(0113303)
hgbot (developer)
2019-07-11 18:56

Repository: retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal
Changeset: ccc3efbb85ba8d0a206a96c39e8ed3b7f1180469
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jul 11 14:32:47 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/ccc3efbb85ba8d0a206a96c39e8ed3b7f1180469 [^]

Fixed issue 41204 : Payments should not be processed if payment origAmount is zero

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---

- Issue History
Date Modified Username Field Change
2019-06-28 14:21 marvintm Type defect => backport
2019-06-28 14:21 marvintm Target Version => RR19Q2.1
2019-07-08 12:56 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-07-11 18:56 hgbot Checkin
2019-07-11 18:56 hgbot Note Added: 0113302
2019-07-11 18:56 hgbot Status scheduled => resolved
2019-07-11 18:56 hgbot Resolution open => fixed
2019-07-11 18:56 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/6b146064a7193f9f6bc09547be4ae6714f7753fa [^]
2019-07-11 18:56 hgbot Checkin
2019-07-11 18:56 hgbot Note Added: 0113303
2019-07-11 18:56 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/6b146064a7193f9f6bc09547be4ae6714f7753fa [^] => http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/ccc3efbb85ba8d0a206a96c39e8ed3b7f1180469 [^]
2019-07-12 15:01 guilleaer Review Assigned To => guilleaer
2019-07-12 15:01 guilleaer Status resolved => closed
2019-07-12 15:01 guilleaer Fixed in Version => RR19Q2.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker