Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041205 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2019-06-28 14:00 | 2019-08-06 16:15 | |||
Reporter | xabiermerino | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR19Q1.3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4956581c4447 | ||||
Projection | none | ETA | none | Target Version | RR19Q1.3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | 0041205: Errors while importing when synchronize a ticket with a discount of 100% and Generate Invoices active | |||||||
Description | When 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0113495) hgbot (developer) 2019-07-18 09:09 |
Repository: retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal Changeset: 4956581c444733bf64c70b62158060e121eec8a1 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Jul 18 12:38:59 2019 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal/rev/4956581c444733bf64c70b62158060e121eec8a1 [^] Fixed issue 41205 : 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 * Payments should not be processed if payment origAmount is zero --- M src/org/openbravo/retail/posterminal/OrderLoader.java M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-06-28 14:21 | marvintm | Type | defect => backport |
2019-06-28 14:21 | marvintm | Target Version | => RR19Q1.2 |
2019-07-05 15:13 | marvintm | Target Version | RR19Q1.2 => RR19Q1.3 |
2019-07-08 12:56 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-07-18 09:09 | hgbot | Checkin | |
2019-07-18 09:09 | hgbot | Note Added: 0113495 | |
2019-07-18 09:09 | hgbot | Status | scheduled => resolved |
2019-07-18 09:09 | hgbot | Resolution | open => fixed |
2019-07-18 09:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal/rev/4956581c444733bf64c70b62158060e121eec8a1 [^] |
2019-07-22 17:47 | ngarcia | Issue Monitored: ngarcia | |
2019-07-26 14:18 | Leyre | Issue Monitored: Leyre | |
2019-08-06 16:15 | marvintm | Review Assigned To | => marvintm |
2019-08-06 16:15 | marvintm | Status | resolved => closed |
2019-08-06 16:15 | marvintm | Fixed in Version | => RR19Q1.3 |
Copyright © 2000 - 2009 MantisBT Group |