Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056478Retail ModulesRetail APIpublic2024-09-17 14:062024-11-13 10:06
AgatheBertin 
Rajesh_18 
normalminorhave not tried
closedfixed 
5
 
 
No
0056478: API PRODUCT - assortment
New field created in the PRODUCT API (POST)
=> assortment

It's a mandatory field in the SWAGGER
==> should be retro-compatible, so shouldn't be mandatory
==> also, when launching a call to the PRODUCT API, the field is indeed not mandatory


=====> the issue is only in the swagger
Check the swagger and see the assortment is mandatory
Remove the "*"
No tags attached.
related to defect 0056234 closed Triage Platform Conn There is no mandatory asterisk in the swagger when a field is not nullable in a JavaPropertyMappingHandler documentation 
related to defect 0056659 closed fofarril Manually documented fields on the swagger that are not explicitly defining if they are nullable are appearing as mandatory 
Issue History
2024-09-17 14:06AgatheBertinNew Issue
2024-09-17 14:06AgatheBertinAssigned To => Triage Platform Conn
2024-09-17 14:06AgatheBertinTriggers an Emergency Pack => No
2024-09-17 14:09adrianromeroAssigned ToTriage Platform Conn => Retail
2024-09-18 12:41jorgewederagoStatusnew => acknowledged
2024-09-18 12:47Rajesh_18Assigned ToRetail => Rajesh_18
2024-09-18 12:47Rajesh_18Statusacknowledged => scheduled
2024-09-19 13:57Rajesh_18Relationship addedrelated to 0056234
2024-09-19 14:14hgbotNote Added: 0169383
2024-10-02 09:16guillermogilSeveritymajor => minor
2024-10-07 10:20kchoperenaRelationship addedrelated to 0056659
2024-11-12 11:15hgbotResolutionopen => fixed
2024-11-12 11:15hgbotStatusscheduled => closed
2024-11-12 11:15hgbotNote Added: 0171793
2024-11-12 11:15hgbotNote Added: 0171794
2024-11-13 10:06hgbotNote Added: 0171843

Notes
(0169383)
hgbot   
2024-09-19 14:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/46 [^]
(0171793)
hgbot   
2024-11-12 11:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration [^]
Changeset: 30a8866b135f24050bf50f558dfa61d4ca619362
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 12-11-2024 10:14:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/commit/30a8866b135f24050bf50f558dfa61d4ca619362 [^]

Fixed ISSUE-56478: Initialized nullable value as true for property documentation class

---
M src/org/openbravo/service/external/integration/mapping/documentation/PropertyDocumentation.java
---
(0171794)
hgbot   
2024-11-12 11:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/46 [^]
(0171843)
hgbot   
2024-11-13 10:06   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: f61516152f4cd19d9e14e17f5c0798a7c41cba61
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 13-11-2024 10:06:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/f61516152f4cd19d9e14e17f5c0798a7c41cba61 [^]

Related to ISSUE-56478: Fixed problem in test

---
M src-test/org/openbravo/api/openapi/ApiPropertyDocumentationTransformerTest.java
---