Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0054016 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | have not tried | 2023-11-23 12:17 | 2023-12-07 13:06 | |||
Reporter | javietxe | View Status | public | |||||
Assigned To | ramprakash | |||||||
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 | aferraz | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0054016: Wrong mapping in shipment lines | |||||||
Description | Even for shipment lines the link with the bin is not mandatory nor in the database nor in the backoffice, in the API mapping is set as not nullable. So if it exists this type of records, the API fails. The bin of the line is set automatically when selecting the product in the dropdown, but it can be deleted. | |||||||
Steps To Reproduce | - Create a Shipment with a shipment line without setting a bin to it (or deleting it if it's automatically set) --- Go to "Goods Movements" window --- Create a new record and save it [goodsshipments.jpg] --- Create a line. Wen selecting a product the bin will be set automatically. Delete it by hand [shipmentline.jpg] - Through postman, do this call setting the date of the Shipment created https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/ws/org.openbravo.api.ExportService/ShipmentInOut/goodsReceiptByMovementDate?movementDate=2012-07-24&_page=1&_pageSize=5 [^] [^] Check that even the response has a JSON and the response code is a 200, the JSON is not complete. Check also that in the openbravo.logs it exists a stacktrace with the error. In this example: ERROR org.openbravo.service.web.BaseWebServiceServlet - Value of property bin is null but it does not accept null values org.openbravo.base.exception.OBException: Value of property bin is null but it does not accept null values | |||||||
Proposed Solution | Set the field as "accepts null values" or change the column definition if it is really mandatory | |||||||
Tags | No tags attached. | |||||||
Attached Files | mapping.png [^] (12,654 bytes) 2023-11-23 12:17
goodsshipments.png [^] (102,446 bytes) 2023-11-27 11:51 shipmentline.png [^] (120,112 bytes) 2023-11-27 11:51 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0157729) hgbot (developer) 2023-11-28 08:55 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/217 [^] |
(0157952) hgbot (developer) 2023-12-05 09:50 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/217 [^] |
(0158008) hgbot (developer) 2023-12-07 12:54 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: 4feab7901a81038ed3fc40a483f234b8240436b2 Author: Ram Prakash <ram.prakash@openbravo.com> Date: 06-12-2023 12:52:37 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/4feab7901a81038ed3fc40a483f234b8240436b2 [^] Fixes ISSUE-54016: Set the Field storageBin to accepts null values in GS Window --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
Issue History | |||
Date Modified | Username | Field | Change |
2023-11-23 12:17 | javietxe | New Issue | |
2023-11-23 12:17 | javietxe | Assigned To | => Triage Platform Conn |
2023-11-23 12:17 | javietxe | File Added: mapping.png | |
2023-11-23 12:17 | javietxe | Triggers an Emergency Pack | => No |
2023-11-23 12:18 | javietxe | Assigned To | Triage Platform Conn => Triage Omni OMS |
2023-11-23 12:24 | javietxe | Relationship added | related to 0054015 |
2023-11-23 12:27 | javietxe | Description Updated | View Revisions |
2023-11-23 12:27 | javietxe | Proposed Solution updated | |
2023-11-23 12:30 | javietxe | Steps to Reproduce Updated | View Revisions |
2023-11-27 11:50 | javietxe | Steps to Reproduce Updated | View Revisions |
2023-11-27 11:51 | javietxe | File Added: goodsshipments.png | |
2023-11-27 11:51 | javietxe | File Added: shipmentline.png | |
2023-11-28 08:55 | hgbot | Note Added: 0157729 | |
2023-12-05 09:50 | hgbot | Note Added: 0157952 | |
2023-12-07 12:54 | hgbot | Resolution | open => fixed |
2023-12-07 12:54 | hgbot | Status | new => resolved |
2023-12-07 12:54 | hgbot | Note Added: 0158008 | |
2023-12-07 12:57 | aferraz | Review Assigned To | => aferraz |
2023-12-07 12:57 | aferraz | Status | resolved => closed |
2023-12-07 13:06 | aferraz | Assigned To | Triage Omni OMS => ramprakash |
Copyright © 2000 - 2009 MantisBT Group |