Openbravo Issue Tracking System - POS2
View Issue Details
0048164POS2POSpublic2021-11-25 16:182021-12-02 23:52
lorenzofidalgo 
elara 
normalminoralways
closedfixed 
5
pi 
 
No
0048164: "undefined-AllergenInfoContainer" as "data-testid" value
Wrong value is set as "data-testid": "undefined-AllergenInfoContainer".
It is not correct that a data-testid has the undefined label inside its name.
"undefined-subTitleLabel" is also present there and is also wrong.
0-Login POS2 as vallblanca in a context with Restaurants module installed.
1-At the top right of the screen, set the Restaurant schema.
2-Add 1x Cheeseburger to the ticket.
3-Click the just product line of the just added product.
4-Click product card button in the overlay that just appeared.
5-Click View Allergens button.
6-The Allergens linked to that product will be shown. With that card being shown, inspect that component using the Chrome Developer tools and find "undefined-AllergenInfoContainer". DEFECT: undefined is not proper.
No tags attached.
png undefined.AllergenInfoContainer.png (330,659) 2021-11-25 16:18
https://issues.openbravo.com/file_download.php?file_id=16401&type=bug
Issue History
2021-11-25 16:18lorenzofidalgoNew Issue
2021-11-25 16:18lorenzofidalgoAssigned To => Retail
2021-11-25 16:18lorenzofidalgoFile Added: undefined.AllergenInfoContainer.png
2021-11-25 16:18lorenzofidalgoTriggers an Emergency Pack => No
2021-11-25 16:21lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=23360#r23360
2021-12-02 15:57elaraAssigned ToRetail => elara
2021-12-02 18:40elaraStatusnew => scheduled
2021-12-02 19:13hgbotNote Added: 0133496
2021-12-02 23:52hgbotResolutionopen => fixed
2021-12-02 23:52hgbotStatusscheduled => closed
2021-12-02 23:52hgbotNote Added: 0133497
2021-12-02 23:52hgbotNote Added: 0133498

Notes
(0133496)
hgbot   
2021-12-02 19:13   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.allergens/-/merge_requests/8 [^]
(0133497)
hgbot   
2021-12-02 23:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.allergens [^]
Changeset: 557549d63d2cf392ff2db3e7d48c9acb70ecb789
Author: Eduardo Lara <eduardo.lara@smfconsulting.es>
Date: 2021-12-02T22:52:18+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.allergens/-/commit/557549d63d2cf392ff2db3e7d48c9acb70ecb789 [^]

Fixes ISSUE-48164: Added testId to AllergensInfo popover payload

---
M web-jspack/org.openbravo.pos2.allergens/src/model/user-interface/user-actions/ShowAllergensInfo.js
---
(0133498)
hgbot   
2021-12-02 23:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.allergens/-/merge_requests/8 [^]