Openbravo Issue Tracking System - POS2
View Issue Details
0050645POS2POSpublic2022-10-26 12:552022-11-07 11:12
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q1 
No
0050645: Keymap Editor UX/UI - error message when u enter no name on new category
On the keymap editor on POS, when you create a new category and you don't put anything in the name field and you press create, a red error message appears below the name, this one is not translated/designated
1- Go to POS2.
2- Login.
3- Go to keymap editor.
4- Choose one of them.
5- Click on view category.
6- Click on new category to create one but without fill in the name.

You will a red error message appears below the name "OBPOS2_NameRequired".
No tags attached.
png 97b6fc13-b29f-4721-a6f2-57d1868b4080.png (34,796) 2022-10-26 12:55
https://issues.openbravo.com/file_download.php?file_id=17715&type=bug
png
Issue History
2022-10-26 12:55meriem_azafNew Issue
2022-10-26 12:55meriem_azafAssigned To => Retail
2022-10-26 12:55meriem_azafFile Added: 97b6fc13-b29f-4721-a6f2-57d1868b4080.png
2022-10-26 12:55meriem_azafTriggers an Emergency Pack => No
2022-10-26 12:56meriem_azafSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24984#r24984
2022-10-26 12:56meriem_azafAssigned ToRetail => meriem_azaf
2022-10-26 12:56meriem_azafStatusnew => scheduled
2022-10-26 13:06meriem_azafDescription Updatedbug_revision_view_page.php?rev_id=24986#r24986
2022-10-26 13:11hgbotNote Added: 0142597
2022-11-07 11:12hgbotResolutionopen => fixed
2022-11-07 11:12hgbotStatusscheduled => closed
2022-11-07 11:12hgbotNote Added: 0143145
2022-11-07 11:12hgbotFixed in Version => 23Q1
2022-11-07 11:12hgbotNote Added: 0143146

Notes
(0142597)
hgbot   
2022-10-26 13:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1313 [^]
(0143145)
hgbot   
2022-11-07 11:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1313 [^]
(0143146)
hgbot   
2022-11-07 11:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: dbe8007b928abe809b29a47d3bbca360aaecfdc7
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 07-11-2022 11:08:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/dbe8007b928abe809b29a47d3bbca360aaecfdc7 [^]

Fixes ISSUE-50645: Keymap Editor UX/UI - error message when u enter no name on new category

On the keymap editor on POS, when you create a new category and you don't put anything in the name field and you press create, a red error message appears below the name, this one is not translated/designated.

The problem was the "$", it was missing in getLabel before the name of the error message.

---
M web-jspack/org.openbravo.pos2/src/components/KeyMapEditor/KeymapEditorNewCategoryDialog/KeymapEditorCategoryDialog.jsx
---