Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0056659 | Retail Modules | Retail API | public | 2024-10-04 17:37 | 2024-11-15 08:05 | |||||||
Reporter | kchoperena | |||||||||||
Assigned To | fofarril | |||||||||||
Priority | urgent | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056659: Manually documented fields on the swagger that are not explicitly defining if they are nullable are appearing as mandatory | |||||||||||
Description | There are properties that needs to be documented manually on the Swagger. In this cases, if the property is not specifying if it is nullable or not, the swagger is showing them as mandatory Here is the list of entities/fields affected: EXPORT INVOICELINE: - originalInvoiceDocumentNumber - originalInvoiceLineId IMPORT CONTACTINFO: - name IMPORT USERROLES: - organization IMPORT USER: - password EXPORT SHIPMENT: - deliveryLocation - completelyInvoiced IMPORT PRODUCT CATEGORY: - parentCategory IMPORT PRICE LIST: - organization IMPORT GOODS MOVEMENT: - client - date - name EXPORT ORDER LINE: - originalSalesOrderDocumentNumber - originalOrderLineId - returnedQuantity EXPORT SHIPMENTINOUTLINE: - orderLine - id - lineNo - orderDocumentNo - grossUnitPrice - netUnitPrice - currency IMPORT PRODUCT: - assortments Also there are some fields that doesn't have the nullable defined but appears as mandatory when they are: IMPORT PRODUCT PRICE EXCEPTION - organization IMPORT INVENTORY LINE: - bin - product | |||||||||||
Steps To Reproduce | Check on the swagger any mentioned field definition | |||||||||||
Proposed Solution | Make by default the nullable to false and include a explicit nullable set for the: IMPORT PRODUCT PRICE EXCEPTION - organization IMPORT INVENTORY LINE: - bin Example: @Override public List<PropertyDocumentation<?>> getPropertyDocumentation() { return List.of(new StringPropertyDocumentation("organization") .description("The organization for the imported price exception, identified by searchKey").nullable(false)); } | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | Screenshot from 2024-10-04 17-36-52.png (74,464) 2024-10-04 17:37 https://issues.openbravo.com/file_download.php?file_id=20231&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-10-04 17:37 | kchoperena | New Issue | ||||||||||
2024-10-04 17:37 | kchoperena | Assigned To | => Triage Platform Conn | |||||||||
2024-10-04 17:37 | kchoperena | File Added: Screenshot from 2024-10-04 17-36-52.png | ||||||||||
2024-10-04 17:37 | kchoperena | Triggers an Emergency Pack | => No | |||||||||
2024-10-07 10:20 | kchoperena | Relationship added | related to 0056478 | |||||||||
2024-10-07 10:47 | adrianromero | Assigned To | Triage Platform Conn => Retail | |||||||||
2024-10-18 12:10 | jorgewederago | Assigned To | Retail => jorgewederago | |||||||||
2024-10-18 13:22 | jorgewederago | Assigned To | jorgewederago => alainperez | |||||||||
2024-10-18 13:22 | jorgewederago | Status | new => acknowledged | |||||||||
2024-10-18 14:06 | alainperez | Status | acknowledged => scheduled | |||||||||
2024-11-05 14:59 | jorgewederago | Assigned To | alainperez => fofarril | |||||||||
2024-11-12 14:27 | marvintm | Severity | major => minor | |||||||||
2024-11-12 17:21 | hgbot | Note Added: 0171829 | ||||||||||
2024-11-15 08:05 | hgbot | Note Added: 0172013 | ||||||||||
2024-11-15 08:05 | hgbot | Resolution | open => fixed | |||||||||
2024-11-15 08:05 | hgbot | Status | scheduled => closed | |||||||||
2024-11-15 08:05 | hgbot | Note Added: 0172014 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|