Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056450 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | have not tried | 2024-09-16 07:23 | 2024-10-04 10:36 | |||
Reporter | AgatheBertin | View Status | public | |||||
Assigned To | ludmila_ursu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056450: API LITIGATION - Wrong Format in the swagger | |||||||
Description | only GET is concerned ===> lines.quantity is described as STRING when it's a number | |||||||
Steps To Reproduce | Make 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 Solution | Change the swagger description to put number instead of string | |||||||
Tags | No tags attached. | |||||||
Attached Files | 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 |