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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058171
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajoralways2025-03-07 10:292025-03-24 10:05
ReportermalsasuaView Statuspublic 
Assigned Toludmila_ursu 
PriorityhighResolutionfixedFixed in VersionRR25Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAtulOpenbravo
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058171: Error importing Distribution Order using Business API

DescriptionAn 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')




Steps To Reproduce. 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')
Proposed SolutionThe 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
TagsNo tags attached.
Attached Filestxt file icon curl.txt [^] (581 bytes) 2025-03-07 10:29 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0176772)
ludmila_ursu (developer)
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 (developer)
2025-03-13 18:37

JIRA: https://openbravo.atlassian.net/browse/RM-23377 [^]

- Issue History
Date Modified Username Field Change
2025-03-07 10:29 malsasua New Issue
2025-03-07 10:29 malsasua Assigned To => Retail
2025-03-07 10:29 malsasua File Added: curl.txt
2025-03-07 10:29 malsasua Regression level => Production - Confirmed Stable
2025-03-07 10:29 malsasua Triggers an Emergency Pack => No
2025-03-07 10:40 jorgewederago Assigned To Retail => Triage Platform Conn
2025-03-07 10:40 jorgewederago Assigned To Triage Platform Conn => Triage Omni WMS
2025-03-09 20:59 mtaal Assigned To Triage Omni WMS => AtulOpenbravo
2025-03-09 20:59 mtaal Assigned To AtulOpenbravo => ludmila_ursu
2025-03-13 09:24 ludmila_ursu Note Added: 0176772
2025-03-13 11:04 malsasua Issue cloned 0058229
2025-03-13 18:37 ludmila_ursu Note Added: 0176809
2025-03-20 12:48 AtulOpenbravo Status new => scheduled
2025-03-20 12:48 AtulOpenbravo Review Assigned To => AtulOpenbravo
2025-03-24 10:03 ludmila_ursu Status scheduled => resolved
2025-03-24 10:03 ludmila_ursu Resolution open => fixed
2025-03-24 10:05 ludmila_ursu Status resolved => closed
2025-03-24 10:05 ludmila_ursu Fixed in Version => RR25Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker