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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056450
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajorhave not tried2024-09-16 07:232024-10-04 10:36
ReporterAgatheBertinView Statuspublic 
Assigned Toludmila_ursu 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056450: API LITIGATION - Wrong Format in the swagger

Descriptiononly GET is concerned

===> lines.quantity is described as STRING when it's a number
Steps To ReproduceMake a GET call of a litigiation and get this kind of result

"lines": [
            {
                "id": "416D5C9081894F7BBE7C54A6795B0FD6",
                "lineNo": 10,
                "product": "366833",
                "quantity": 2,
                "UOM": "Unit",
                "status": "A"
            }
        ],
Proposed SolutionChange the swagger description to put number instead of string
TagsNo tags attached.
Attached Filespng file icon swagger2.png [^] (146,324 bytes) 2024-10-02 13:33

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0169899)
ludmila_ursu (developer)
2024-10-02 13:33

URL:
https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/api?urls.primaryName=Business%20API%20-%20Transactional%20Data [^]
(0169906)
ludmila_ursu (developer)
2024-10-02 17:06

Merge request:
https://gitlab.com/openbravo/product/pmods/org.openbravo.litigations/-/merge_requests/8 [^]
(0169907)
ludmila_ursu (developer)
2024-10-02 17:08

Test plan:
* go the Swagger URL (from livedevbuilds, click on API [link](https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/api [^]))
* on the top right, select "Business API - Transactional Data
* go to the "Litigation" part and open one of the GET api url
* in the "Responses" part click on "Schema" and open the menus: data, Items, lines, Items. Notice that for "quantity" element, the type of the data is now "number"
(0169990)
ludmila_ursu (developer)
2024-10-04 10:36

Merge request merged.

- Issue History
Date Modified Username Field Change
2024-09-16 07:23 AgatheBertin New Issue
2024-09-16 07:23 AgatheBertin Assigned To => Triage Platform Conn
2024-09-16 07:23 AgatheBertin Triggers an Emergency Pack => No
2024-09-16 09:18 adrianromero Assigned To Triage Platform Conn => Retail
2024-09-16 09:48 guillermogil Assigned To Retail => Triage Omni OMS
2024-09-19 22:13 aferraz Assigned To Triage Omni OMS => Triage Omni WMS
2024-10-01 18:16 mtaal Assigned To Triage Omni WMS => ludmila_ursu
2024-10-02 13:33 ludmila_ursu Note Added: 0169899
2024-10-02 13:33 ludmila_ursu File Added: swagger2.png
2024-10-02 17:06 ludmila_ursu Note Added: 0169906
2024-10-02 17:08 ludmila_ursu Note Added: 0169907
2024-10-04 10:36 ludmila_ursu Note Added: 0169990
2024-10-04 10:36 ludmila_ursu Status new => acknowledged
2024-10-04 10:36 ludmila_ursu Status acknowledged => scheduled
2024-10-04 10:36 ludmila_ursu Status scheduled => resolved
2024-10-04 10:36 ludmila_ursu Resolution open => fixed
2024-10-04 10:36 ludmila_ursu Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker