Openbravo Issue Tracking System - POS2
View Issue Details
0054022POS2POSpublic2023-11-24 12:022024-01-16 14:44
javietxe 
sreehari 
normalmajoralways
closedfixed 
5
 
24Q1 
approved
Gold
No
0054022: Not user friendly error message
When a till is loading, if a product existing in the keymap is not referenced in the assortment, there is popup with an error that is not meaningful for the user:

ConfigurationSet initialization fail with error: TypeError: Cannot read properties of undefined (reading 'obpos2NoStandardSale')

Check the image
In the backoffice
- Configure a product in the keymap
- Check that this product is not defined in the assortment that is going to be used by the POS. If it is, delete it.

In the POS
- Load the POS
Show a meaningful error to warn that the assortment or the keymap should be defined.
No tags attached.
png login error.png (35,289) 2023-11-24 12:02
https://issues.openbravo.com/file_download.php?file_id=19177&type=bug
png
Issue History
2023-11-24 12:02javietxeNew Issue
2023-11-24 12:02javietxeAssigned To => Retail
2023-11-24 12:02javietxeFile Added: login error.png
2023-11-24 12:02javietxeOBNetwork customer => Gold
2023-11-24 12:02javietxeTriggers an Emergency Pack => No
2023-11-27 06:48SABARINATH PAssigned ToRetail => SABARINATH P
2023-11-27 06:49SABARINATH PAssigned ToSABARINATH P => Retail
2023-12-06 06:46sreehariAssigned ToRetail => sreehari
2023-12-06 06:46sreehariStatusnew => scheduled
2023-12-06 13:17hgbotMerge Request Status => open
2023-12-06 13:17hgbotNote Added: 0157982
2023-12-15 12:15sreehariNote Added: 0158261
2023-12-19 10:33hgbotMerge Request Statusopen => approved
2023-12-19 10:33hgbotResolutionopen => fixed
2023-12-19 10:33hgbotStatusscheduled => closed
2023-12-19 10:33hgbotFixed in Version => 24Q1
2023-12-19 10:33hgbotNote Added: 0158329
2023-12-19 10:33hgbotNote Added: 0158330
2024-01-16 14:24AugustoMauchRelationship addedcaused by 0053491
2024-01-16 14:26AugustoMauchRegression level => Production - QA Approved
2024-01-16 14:26AugustoMauchRegression date => 2023-10-31
2024-01-16 14:26AugustoMauchRegression introduced in release => 23Q4.1
2024-01-16 14:26AugustoMauchRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/afeb827459f6f1d4ac07e8d35e9b6ec4e9313b5b [^]
2024-01-16 14:44AugustoMauchRegression levelProduction - QA Approved =>
2024-01-16 14:44AugustoMauchRegression date2023-10-31 =>
2024-01-16 14:44AugustoMauchRegression introduced in release23Q4.1 =>
2024-01-16 14:44AugustoMauchRegression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/afeb827459f6f1d4ac07e8d35e9b6ec4e9313b5b [^] =>
2024-01-16 14:44AugustoMauchRelationship deletedcaused by 0053491

Notes
(0157982)
hgbot   
2023-12-06 13:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2282 [^]
(0158261)
sreehari   
2023-12-15 12:15   
JIRA - https://openbravo.atlassian.net/browse/RM-10322 [^]
(0158329)
hgbot   
2023-12-19 10:33   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: b1b6e8ad9d70a1fcf29311e84484ab35d9e9e1ac
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 19-12-2023 09:33:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b1b6e8ad9d70a1fcf29311e84484ab35d9e9e1ac [^]

Fixes ISSUE-54022: Shown keymap product error when product configured but not available in assortment

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/utils/getAssortmentProducts.js
---
(0158330)
hgbot   
2023-12-19 10:33   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2282 [^]