Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0053199 | POS2 | POS | public | 2023-08-10 13:23 | 2023-08-11 07:32 |
Reporter | caristu | ||||
Assigned To | Rajesh_18 | ||||
Priority | high | Severity | major | Reproducibility | sometimes |
Status | scheduled | Resolution | open | ||
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 | 0053199: Cannot login after refreshing the POS having a closed receipt opened | ||||
Description | Cannot login after refreshing the POS having a closed receipt opened | ||||
Steps To Reproduce | 1) Login in the pos 2) Navigate to the Orders window and open an order 3) Refresh the browser (F5) 4) After that is not possible to access to the application (see attached) | ||||
Proposed Solution | The error is caused by the function updateSalesRepOfDraftTicket[1]. The execution of this function ends up invoking the ticket hooks that recalculate the taxes of the ticket, which in some cases may throw an OB.App.Class.TaxEngineError causing the problem. According to the function name shouldn't this function perform no action if the ticket is not a draft Ticket? [1]https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js#L566 [^] | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=18858&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2023-08-10 13:23 | caristu | New Issue | |||
2023-08-10 13:23 | caristu | Assigned To | => Triage Platform Base | ||
2023-08-10 13:23 | caristu | File Added: loginError.png | |||
2023-08-10 13:23 | caristu | Triggers an Emergency Pack | => No | ||
2023-08-10 13:23 | caristu | Proposed Solution updated | |||
2023-08-10 13:25 | caristu | Assigned To | Triage Platform Base => Retail | ||
2023-08-10 13:25 | caristu | Category | Core => POS | ||
2023-08-10 15:06 | Rajesh_18 | Assigned To | Retail => Rajesh_18 | ||
2023-08-10 15:06 | Rajesh_18 | Status | new => scheduled | ||
2023-08-11 07:32 | hgbot | Note Added: 0153436 |
Notes | |||||
|
|||||
|
|