Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049515
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantscriticalhave not tried2022-06-08 18:512022-06-16 15:35
ReporterguilleaerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049515: Menu item product image are being added to the state and sent to backoffice when an order is processed

DescriptionMenu item product image are being added to the state and sent to backoffice when an order is processed
Steps To ReproduceIn live builds - POS2-modules
Connect to backoffice and open product window and search for product "Cheese burger"
Add an image to it and save
logout

Login in POS2-modules (demouser/openbravo)
In main window move to restaurant schema (top right selector)
Select "Best Sellers" categry in keymap
Right clic on cheese burger to ensure that image is shown (If not refresh master data)
Select "Menu" categry in keymap
Press simple menu
Select cesar Salad
Select cheeseburger (now, well done)
Select Beer 0.5L
Select Brownie

Open developer tools console and execute:
OB.App.State.getState().Ticket.lines[0].menuItems[1].product.img

img info is there

Pay the order and look to orderLoader request payload

img info is there





Proposed SolutionImg information should not be part of the state / orderloader request
TagsNo tags attached.
Attached Filespng file icon Selection_678.png [^] (82,392 bytes) 2022-06-08 18:51


png file icon Selection_679.png [^] (115,395 bytes) 2022-06-08 18:51


png file icon Selection_680.png [^] (61,987 bytes) 2022-06-08 18:51


png file icon Selection_681.png [^] (76,408 bytes) 2022-06-08 18:52

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0049497 closedRetail JIRA 3060 - OrderLoader - img data are still sent in order data (menu components) 

-  Notes
(0138401)
hgbot (developer)
2022-06-16 11:43

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/154 [^]
(0138431)
hgbot (developer)
2022-06-16 15:35

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
---
(0138432)
hgbot (developer)
2022-06-16 15:35

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/154 [^]

- Issue History
Date Modified Username Field Change
2022-06-08 18:51 guilleaer New Issue
2022-06-08 18:51 guilleaer Assigned To => Retail
2022-06-08 18:51 guilleaer File Added: Selection_678.png
2022-06-08 18:51 guilleaer Triggers an Emergency Pack => No
2022-06-08 18:51 guilleaer File Added: Selection_679.png
2022-06-08 18:51 guilleaer File Added: Selection_680.png
2022-06-08 18:52 guilleaer File Added: Selection_681.png
2022-06-13 13:28 guilleaer Relationship added has duplicate 0049497
2022-06-16 11:43 hgbot Note Added: 0138401
2022-06-16 15:35 hgbot Resolution open => fixed
2022-06-16 15:35 hgbot Status new => closed
2022-06-16 15:35 hgbot Note Added: 0138431
2022-06-16 15:35 hgbot Note Added: 0138432


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker