Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0052679 | POS2 | POS | public | 2023-06-06 13:16 | 2023-06-08 11:23 |
Reporter | malsasua | ||||
Assigned To | prakashmurugesan88 | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 23Q3 | |||
Merge Request Status | approved | ||||
Review Assigned To | |||||
OBNetwork customer | Gold | ||||
Support ticket | 66000 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0052679: Till is locked with open receipt ticket with a sales representative of other store | ||||
Description | When one paid ticket is loaded in the till (Orders menu option) and the sales representative linked to the ticket does not belong to this store, an error is returned: TypeError: Cannot read properties of undefined (reading 'undefined') at ConfigurableButton.jsx:59:16 at Array.map (<anonymous>) at c (ConfigurableButton.jsx:48:33) at ia (react-dom.production.min.js:157:137) at Ba (react-dom.production.min.js:180:154) at $u (react-dom.production.min.js:269:343) at jl (react-dom.production.min.js:250:347) at Sl (react-dom.production.min.js:250:278) at Ol (react-dom.production.min.js:250:138) at ml (react-dom.production.min.js:243:163) uu @ react-dom.production.min.js:216 | ||||
Steps To Reproduce | . in store1: 1- do login with cashier1 (cashier1 can not access to store2) 2- complete a ticket . in store2: 3- do login with cashier2 4- click in "Orders" and select the ticket created in 1 -> error: TypeError: Cannot read properties of undefined (reading 'undefined') | ||||
Proposed Solution | Lines candidates to be fixed: if (foundSalesRep) { setSalesRepInfo(foundSalesRep ? foundSalesRep[0] : {}); } | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2023-06-06 13:16 | malsasua | New Issue | |||
2023-06-06 13:16 | malsasua | Assigned To | => Retail | ||
2023-06-06 13:16 | malsasua | OBNetwork customer | => Gold | ||
2023-06-06 13:16 | malsasua | Support ticket | => 66000 | ||
2023-06-06 13:16 | malsasua | Triggers an Emergency Pack | => No | ||
2023-06-06 13:45 | guillermogil | Assigned To | Retail => prakashmurugesan88 | ||
2023-06-07 13:09 | hgbot | Merge Request Status | => open | ||
2023-06-07 13:09 | hgbot | Note Added: 0150888 | |||
2023-06-08 11:22 | hgbot | Merge Request Status | open => approved | ||
2023-06-08 11:23 | hgbot | Resolution | open => fixed | ||
2023-06-08 11:23 | hgbot | Status | new => closed | ||
2023-06-08 11:23 | hgbot | Fixed in Version | => 23Q3 | ||
2023-06-08 11:23 | hgbot | Note Added: 0150932 | |||
2023-06-08 11:23 | hgbot | Note Added: 0150933 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|