Openbravo Issue Tracking System - POS2
View Issue Details
0046010POS2POSpublic2021-03-05 11:072021-03-10 20:22
jorge-garcia 
AtulOpenbravo 
highmajoralways
closedfixed 
5
 
 
No
0046010: Selecting "Lighting & Electronics" category from Store schema breaks the application
Selecting "Lighting & Electronics" category from Store schema breaks the application
Select Store schema from new POS application
Select "Lighting & Electronics"
The application crashes.
There are two errors here:
1) The selected product "Solar charger all terrain" in POS Keymap is not the proper product to be added (this is a problem in the sampledata)
2) The Line 32 from Getproductkeymapinfo.js does not take into account that the product with specific id could not exists

Both problems should be fixed at the same time
No tags attached.
Issue History
2021-03-05 11:07jorge-garciaNew Issue
2021-03-05 11:07jorge-garciaAssigned To => Retail
2021-03-05 11:07jorge-garciaTriggers an Emergency Pack => No
2021-03-09 12:35AtulOpenbravoAssigned ToRetail => AtulOpenbravo
2021-03-09 12:35AtulOpenbravoStatusnew => scheduled
2021-03-10 19:25hgbotNote Added: 0126591
2021-03-10 19:26hgbotNote Added: 0126592
2021-03-10 20:22hgbotResolutionopen => fixed
2021-03-10 20:22hgbotStatusscheduled => closed
2021-03-10 20:22hgbotNote Added: 0126595
2021-03-10 20:22hgbotNote Added: 0126596
2021-03-10 20:22hgbotNote Added: 0126597
2021-03-10 20:22hgbotNote Added: 0126598

Notes
(0126591)
hgbot   
2021-03-10 19:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/4 [^]
(0126592)
hgbot   
2021-03-10 19:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/291 [^]
(0126595)
hgbot   
2021-03-10 20:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: 57f45000c59ca06ae3e418560193f2e72541c3a5
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-03-10T23:50:41+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/57f45000c59ca06ae3e418560193f2e72541c3a5 [^]

Fixes ISSUE-0046010: Selecting "Lighting & Electronics" category
from Store schema breaks the application

**update Lighting & Electronics category products properly in
sample data in pos2 keymap products.

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS2_KEYMAP_PRODUCT.xml
---
(0126596)
hgbot   
2021-03-10 20:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/4 [^]
(0126597)
hgbot   
2021-03-10 20:22   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 422c6159ed7b79749311284adf2e833989c3e69d
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-03-10T23:42:10+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/422c6159ed7b79749311284adf2e833989c3e69d [^]

Related to ISSUE-46010:Selecting "Lighting & Electronics" category from
Store schema breaks the application

**return empty object {} in case productKeymapList does not have product
with specific id

---
M web-jspack/org.openbravo.pos2/src/components/ProductKeymap/GetProductKeymapInfo.js
---
(0126598)
hgbot   
2021-03-10 20:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/291 [^]