Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0047342 | POS2 | POS | public | 2021-07-06 12:47 | 2021-07-06 21:49 |
Reporter | AugustoMauch | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0047342: Error when logging in if Keymap Category contains unused Product Category | ||||
Description | A keymap category can contain product categories, meaning that all the products that belong to those product categories will be included in the keymap category. If a product category is added to a keymap category and that product category is not loaded on WebPOS (i.e. because no product in the assortment belongs to it), an error will be thrown when logging in: Cannot destructure property 'obpos2Color' of 'n[e.productCategoryId]' as it is undefined | ||||
Steps To Reproduce | In any environment with pos2 sampledata (i.e. https://livebuilds.openbravo.com/retail_pos2_pgsql/ [^]) In the backoffice: - Open POS Keymap - Select Main App Keymap - Select v1 version - Select Ski Keymap Category - In the Product Categories subtab, add Meters (a product category that will not be available on WebPOS) In WebPOS: - Log in. An error will be thrown: Cannot destructure property 'obpos2Color' of 'n[e.productCategoryId]' as it is undefined | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-07-06 12:47 | AugustoMauch | New Issue | |||
2021-07-06 12:47 | AugustoMauch | Assigned To | => AugustoMauch | ||
2021-07-06 12:47 | AugustoMauch | Triggers an Emergency Pack | => No | ||
2021-07-06 12:53 | AugustoMauch | Status | new => scheduled | ||
2021-07-06 13:03 | hgbot | Note Added: 0130177 | |||
2021-07-06 21:49 | hgbot | Resolution | open => fixed | ||
2021-07-06 21:49 | hgbot | Status | scheduled => closed | ||
2021-07-06 21:49 | hgbot | Note Added: 0130203 | |||
2021-07-06 21:49 | hgbot | Note Added: 0130204 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|