Openbravo Issue Tracking System - Retail Modules
View Issue Details
0058171Retail ModulesRetail APIpublic2025-03-07 10:292025-03-24 10:05
malsasua 
ludmila_ursu 
highmajoralways
closedfixed 
5
 
RR25Q2 
AtulOpenbravo
Gold
122837
Production - Confirmed Stable
No
0058171: Error importing Distribution Order using Business API
An error is raised importing a Distribution Order using the Business API
org.openbravo.api.ImportService/DistributionOrder:

Error:
Error while importing an item: ClassCastException: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap')




. execute the curl (with QA Admin role) attached
. EDL Request is created
. processing the EDL, error is returned:
Error while importing an item: ClassCastException: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap')
The error is in the line:
https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.distributionorder.api/-/blob/release/24Q4/src/org/openbravo/distributionorder/api/hook/distributionorderline/ImportDOLineBaseOBObjectFetcher.java?ref_type=heads#L53 [^]

it seems the lineNo property is not retrieved properly
No tags attached.
txt curl.txt (581) 2025-03-07 10:29
https://issues.openbravo.com/file_download.php?file_id=21016&type=bug
Issue History
2025-03-07 10:29malsasuaNew Issue
2025-03-07 10:29malsasuaAssigned To => Retail
2025-03-07 10:29malsasuaFile Added: curl.txt
2025-03-07 10:29malsasuaOBNetwork customer => Gold
2025-03-07 10:29malsasuaSupport ticket => 122837
2025-03-07 10:29malsasuaRegression level => Production - Confirmed Stable
2025-03-07 10:29malsasuaTriggers an Emergency Pack => No
2025-03-07 10:40jorgewederagoAssigned ToRetail => Triage Platform Conn
2025-03-07 10:40jorgewederagoAssigned ToTriage Platform Conn => Triage Omni WMS
2025-03-09 20:59mtaalAssigned ToTriage Omni WMS => AtulOpenbravo
2025-03-09 20:59mtaalAssigned ToAtulOpenbravo => ludmila_ursu
2025-03-13 09:24ludmila_ursuNote Added: 0176772
2025-03-13 11:04malsasuaIssue cloned0058229
2025-03-13 18:37ludmila_ursuNote Added: 0176809
2025-03-20 12:48AtulOpenbravoStatusnew => scheduled
2025-03-20 12:48AtulOpenbravoReview Assigned To => AtulOpenbravo
2025-03-24 10:03ludmila_ursuStatusscheduled => resolved
2025-03-24 10:03ludmila_ursuResolutionopen => fixed
2025-03-24 10:05ludmila_ursuStatusresolved => closed
2025-03-24 10:05ludmila_ursuFixed in Version => RR25Q2

Notes
(0176772)
ludmila_ursu   
2025-03-13 09:24   
Merge request:
https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/46 [^]

Proof of testing
https://docs.google.com/spreadsheets/d/1pykmaUSQu19LA06ViWmRhQ9CIl1x8gg6wWyQUWJtcoc/edit?gid=0#gid=0 [^]
(0176809)
ludmila_ursu   
2025-03-13 18:37   
JIRA: https://openbravo.atlassian.net/browse/RM-23377 [^]