Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051567Retail ModulesWeb POSpublic2023-02-10 09:282023-02-16 07:59
malsasua 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
RR22Q2.3 
RR23Q2 
No
0051567: When Terminal request raises timeout, the login offline is not done
In some cases, when the terminal request (org.openbravo.retail.posterminal.term.Terminal)
raises timeout, the till is locked and login offline is not done
. in POS:
 - login-> login is done properly
 - logout ->> IT IS OK
. in eclipse
 - add a breakpoint in Terminal.java class
. in POS:
 - do login: Reading Terminal Information message is displayed
 - execution is stopped in eclipse
 - 15 secs later in POS: message:
   The connection was lost. You can continue working in offline mode....
 - login in offline is done -> IT IS OK
 - click F5 (refresh browser)
 - Reading Terminal Information message is displayed
 - 15 secs later: message:
The connection was lost. You can continue working in offline mode....

but login offline never is done -> IT IS KO

Check the video:
https://drive.google.com/file/d/122pCQCjyzJ-4uzA4f0MQ4laRHKPsfWlG/view?usp=sharing [^]
No tags attached.
Issue History
2023-02-10 09:28malsasuaNew Issue
2023-02-10 09:28malsasuaAssigned To => Retail
2023-02-10 09:28malsasuaTriggers an Emergency Pack => No
2023-02-13 10:34malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25530#r25530
2023-02-14 09:57ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-02-15 06:16hgbotNote Added: 0146548
2023-02-16 07:59hgbotNote Added: 0146599
2023-02-16 07:59hgbotResolutionopen => fixed
2023-02-16 07:59hgbotStatusnew => closed
2023-02-16 07:59hgbotFixed in Version => RR23Q2
2023-02-16 07:59hgbotNote Added: 0146600

Notes
(0146548)
hgbot   
2023-02-15 06:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/470 [^]
(0146599)
hgbot   
2023-02-16 07:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/470 [^]
(0146600)
hgbot   
2023-02-16 07:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: d37afeb5fd15307d6b69fe35a729dbaeda947b5a
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 16-02-2023 06:59:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/d37afeb5fd15307d6b69fe35a729dbaeda947b5a [^]

Fixed ISSUE-51567: Datasourcefailed property should not checked in offline login

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---