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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055699
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajorhave not tried2024-06-06 10:512024-07-22 07:38
ReporterAgatheBertinView Statuspublic 
Assigned Tofofarril 
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

0055699: API Product POST - Missing information in the swagger

Descriptionin the GET API of product, we have relatableProducts

It is not available in the POST and it should
Steps To ReproduceTry to create a product with the array

  "relatableProducts": [
            {
                "product": "CONTRIBUTION_TEST",
                "multiplicator": 1.4,
                "active": true
            },
            {
                "product": "test_contribution",
                "multiplicator": 1.3,
                "active": true
            }


The import works despite the array relatableProducts not available in the swagger
Proposed SolutionAdd relatableProducts in the POST Swagger for Product
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0055858 closedkchoperena Fields missing on the swagger definition of Product Import API 
related to defect 0056071 newkousalya_r Missing RelatableProductsByCategory in swagger 

-  Notes
(0165800)
hgbot (developer)
2024-06-11 14:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/281 [^]
(0165878)
hgbot (developer)
2024-06-12 20:59

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/281 [^]
(0165879)
hgbot (developer)
2024-06-12 23:16

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/99 [^]
(0166904)
hgbot (developer)
2024-07-11 19:21

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/296 [^]
(0166908)
hgbot (developer)
2024-07-12 06:24

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/99 [^]
(0167206)
hgbot (developer)
2024-07-22 07:38

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 93e3d93f2053bd2652629daa809d22b6fd4e2936
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 22-07-2024 05:38:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/93e3d93f2053bd2652629daa809d22b6fd4e2936 [^]

Fixes ISSUE-55699: Fixed information in Swagger API Product POST
As part of issue 55858 it was modified how swagger was shown so it was needed to update several properties.

---
M src/org/openbravo/api/mappings/product/ExportProductJavaPropertyMappingHandler.java
M src/org/openbravo/api/mappings/product/ImportProductJavaPropertyMappingHandler.java
---
(0167207)
hgbot (developer)
2024-07-22 07:38

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/296 [^]

- Issue History
Date Modified Username Field Change
2024-06-06 10:51 AgatheBertin New Issue
2024-06-06 10:51 AgatheBertin Assigned To => Triage Platform Conn
2024-06-06 10:51 AgatheBertin Triggers an Emergency Pack => No
2024-06-06 14:31 adrianromero Assigned To Triage Platform Conn => Retail
2024-06-10 12:11 guillermogil Assigned To Retail => guillermogil
2024-06-11 14:19 fofarril Assigned To guillermogil => fofarril
2024-06-11 14:19 fofarril Status new => scheduled
2024-06-11 14:40 hgbot Note Added: 0165800
2024-06-12 20:59 hgbot Note Added: 0165878
2024-06-12 23:16 hgbot Note Added: 0165879
2024-07-11 19:21 hgbot Note Added: 0166904
2024-07-12 06:24 hgbot Note Added: 0166908
2024-07-16 14:48 kchoperena Relationship added caused by 0055858
2024-07-19 12:08 guillermogil Relationship added related to 0056071
2024-07-19 12:09 guillermogil Description Updated View Revisions
2024-07-19 12:09 guillermogil Proposed Solution updated
2024-07-22 07:38 hgbot Resolution open => fixed
2024-07-22 07:38 hgbot Status scheduled => closed
2024-07-22 07:38 hgbot Note Added: 0167206
2024-07-22 07:38 hgbot Note Added: 0167207


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker