Openbravo Issue Tracking System - POS2
View Issue Details
0049497POS2POSpublic2022-06-07 15:072022-06-16 15:36
jmelin 
Retail 
highmajoralways
closedfixed 
5
 
 
guilleaer
No
0049497: JIRA 3060 - OrderLoader - img data are still sent in order data (menu components)
When a menu is added to an order

If the selected components have product image

Then they are sent to the BO along with order data
On livebuild
In BO, add product image to "Simple menu"
add product image for product that are components of "Simple menu"

connect to the POS2
refresh data
create an order and add a "Simple menu"
Pay and close the order

Check data sent for the order (see sample join)
=> you have data for "img" with the image encoded in base64.

Those data are not useful when loading an order
No tags attached.
duplicate of defect 0049515 closed Retail Menu item product image are being added to the state and sent to backoffice when an order is processed 
? order_data.json (186,299) 2022-06-07 15:08
https://issues.openbravo.com/file_download.php?file_id=17130&type=bug
Issue History
2022-06-07 15:07jmelinNew Issue
2022-06-07 15:07jmelinAssigned To => Retail
2022-06-07 15:07jmelinTriggers an Emergency Pack => No
2022-06-07 15:08jmelinFile Added: order_data.json
2022-06-13 13:28guilleaerRelationship addedduplicate of 0049515
2022-06-16 15:36guilleaerStatusnew => acknowledged
2022-06-16 15:36guilleaerStatusacknowledged => scheduled
2022-06-16 15:36guilleaerNote Added: 0138433
2022-06-16 15:36guilleaerStatusscheduled => resolved
2022-06-16 15:36guilleaerResolutionopen => fixed
2022-06-16 15:36guilleaerReview Assigned To => guilleaer
2022-06-16 15:36guilleaerStatusresolved => closed

Notes
(0138433)
guilleaer   
2022-06-16 15:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^] [^]
Changeset: fd55966fd63a1e936b3504cc9e09926ea2972d88
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 16-06-2022 13:35:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/fd55966fd63a1e936b3504cc9e09926ea2972d88 [^] [^]

Fixed ISSUE-49515: Remove imgages from state and sync in menuItems

---
M web-jspack/org.openbravo.pos2.restaurant/src/model/ticket/utils/updateMenu.js
---