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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053444
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajoralways2023-09-12 16:392023-09-27 11:27
ReporterLeosbanisView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q1.3SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053444: External Order Loader (Ship Step) finish with error

DescriptionWhen using the External Order Loader, we try to ship an order that has a line with an ordered quantity greater than zero and this has been deleted from the WebPOS (em_obpos_isdeleted=Y) the process ends with an error.

org.openbravo.base.exception.OBException: Error in OrderLoader: Error when creating the shipment:

Caused by: java.lang.IndexOutOfBoundsException: Index 16 out of bounds for length 16
        at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
        at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
        at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) ~[?:?]

See attached document for more details.
Steps To Reproduce1- From WebPOS, create an order with several lines
2- Delete one of them.
3- Prepare the orden for delivery.
4- Using an external system send a Ship step request.
TagsNo tags attached.
Attached Filespdf file icon When using the External Order Loader.pdf [^] (620,166 bytes) 2023-09-12 16:39

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052925 closedranjith_qualiantech_com Ship step of ExternalOrderLoader fails when there is a deleted line before an ordered line in the receipt 

-  Notes
(0154911)
hgbot (developer)
2023-09-18 06:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1344 [^]
(0154912)
hgbot (developer)
2023-09-18 06:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/76 [^]
(0155290)
hgbot (developer)
2023-09-27 11:27

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/76 [^]
(0155291)
hgbot (developer)
2023-09-27 11:27

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: f1a3246c17ab9afe9226d9b8cf6d85182245c183
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 13-09-2023 14:57:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/f1a3246c17ab9afe9226d9b8cf6d85182245c183 [^]

Fixed ISSUE-53444: Deleted lines should be removed from line json in EOL Transformation hook

---
M src/org/openbravo/retail/api/events/order/ExternalOrderLoaderTransformationJsonHook.java
---
(0155292)
hgbot (developer)
2023-09-27 11:27

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f4ee71f896c2f210239ebda99a37964d112e9b53
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 27-09-2023 09:27:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f4ee71f896c2f210239ebda99a37964d112e9b53 [^]

Related to ISSUE-53444: OrderLine should be fetched from lineReference based on line json
* When creating shipment, OrderLine should be fetched from lineReference
  based on line json

---
M src/org/openbravo/retail/posterminal/utility/ShipmentUtils.java
---
(0155293)
hgbot (developer)
2023-09-27 11:27

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1344 [^]

- Issue History
Date Modified Username Field Change
2023-09-12 16:39 Leosbanis New Issue
2023-09-12 16:39 Leosbanis Assigned To => Triage Platform Conn
2023-09-12 16:39 Leosbanis File Added: When using the External Order Loader.pdf
2023-09-12 16:39 Leosbanis Triggers an Emergency Pack => No
2023-09-12 16:52 adrianromero Assigned To Triage Platform Conn => Retail
2023-09-13 06:53 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-09-13 11:12 ranjith_qualiantech_com Relationship added related to 0052925
2023-09-13 11:25 ranjith_qualiantech_com Status new => scheduled
2023-09-18 06:01 hgbot Note Added: 0154911
2023-09-18 06:01 hgbot Note Added: 0154912
2023-09-27 11:27 hgbot Note Added: 0155290
2023-09-27 11:27 hgbot Resolution open => fixed
2023-09-27 11:27 hgbot Status scheduled => closed
2023-09-27 11:27 hgbot Note Added: 0155291
2023-09-27 11:27 hgbot Note Added: 0155292
2023-09-27 11:27 hgbot Note Added: 0155293


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker