Project:
View Revisions: Issue #54016 | [ Back to Issue ] | ||
Summary | 0054016: Wrong mapping in shipment lines | ||
Revision | 2023-11-27 11:50 by javietxe | ||
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 |
||
Revision | 2023-11-23 12:30 by javietxe | ||
Steps To Reproduce | - Create a Shipment with a shipment line without setting a bin to it (or deleting it if it's automatically set) - 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 |
||
Revision | 2023-11-23 12:27 by javietxe | ||
Steps To Reproduce | - Create a Shipment without setting a bin to it - 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 |
||
Revision | 2023-11-23 12:27 by javietxe | ||
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. |
||
Revision | 2023-11-23 12:24 by javietxe | ||
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 |
Copyright © 2000 - 2009 MantisBT Group |