Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039940Retail ModulesOffline Modepublic2019-01-14 14:142019-02-05 17:08
migueldejuana 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR19Q2 
jorge-garcia
Production - QA Approved
2018-09-27
RR18Q4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe4ad38b1f0102c6a0667f4d0f3db2e2f8fb0af1#l1.8 [^]
No
0039940: Lockscreen offline is broken
If we try to do lock screen offline is not working. Since 18Q4, when we try todo lock screen in offline, we refresh the window instead of going to login window.
- Login in Web POS online
- Go to offline
- Open Menu - User - Lock Screen
- ERROR! We refresh the pointofsale window instead of navigate to login window
Add a test with this steps to reproduce
No tags attached.
depends on backport 0040150RR19Q1 closed ranjith_qualiantech_com Lockscreen offline is broken 
depends on backport 0040151RR18Q4.2 closed ranjith_qualiantech_com Lockscreen offline is broken 
Issue History
2019-01-14 14:14migueldejuanaNew Issue
2019-01-14 14:14migueldejuanaAssigned To => Retail
2019-01-14 14:14migueldejuanaRegression level => Production - QA Approved
2019-01-14 14:14migueldejuanaRegression date => 2018-09-27
2019-01-14 14:14migueldejuanaRegression introduced in release => RR18Q4
2019-01-14 14:14migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe4ad38b1f0102c6a0667f4d0f3db2e2f8fb0af1#l1.8 [^]
2019-01-14 14:14migueldejuanaTriggers an Emergency Pack => No
2019-01-29 15:14ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-01-29 15:15ranjith_qualiantech_comStatusnew => scheduled
2019-02-05 11:46hgbotCheckin
2019-02-05 11:46hgbotNote Added: 0109573
2019-02-05 11:46hgbotStatusscheduled => resolved
2019-02-05 11:46hgbotResolutionopen => fixed
2019-02-05 11:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c86b75b92638520516d1a153bd1af3d00fb97174 [^]
2019-02-05 11:46hgbotCheckin
2019-02-05 11:46hgbotNote Added: 0109574
2019-02-05 17:08jorge-garciaNote Added: 0109593
2019-02-05 17:08jorge-garciaStatusresolved => new
2019-02-05 17:08jorge-garciaResolutionfixed => open
2019-02-05 17:08jorge-garciaStatusnew => scheduled
2019-02-05 17:08jorge-garciaStatusscheduled => resolved
2019-02-05 17:08jorge-garciaFixed in Version => RR19Q2
2019-02-05 17:08jorge-garciaResolutionopen => fixed
2019-02-05 17:08jorge-garciaReview Assigned To => jorge-garcia
2019-02-05 17:08jorge-garciaNote Added: 0109594
2019-02-05 17:08jorge-garciaStatusresolved => closed

Notes
(0109573)
hgbot   
2019-02-05 11:46   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c86b75b92638520516d1a153bd1af3d00fb97174
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 05 16:16:03 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c86b75b92638520516d1a153bd1af3d00fb97174 [^]

Fixed issue 39940 : POS should naviage to Login when it is locked in offline

* Added New localStorage "POSSessionActive" to track the active session
  If there is no active session and try to reload in offline, it will be redirected to login screen

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0109574)
hgbot   
2019-02-05 11:46   
Repository: tools/automation/pi-mobile
Changeset: 9fe9395e57ec3c7e47cdb6c794e37914d0512ffd
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 05 16:16:38 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9fe9395e57ec3c7e47cdb6c794e37914d0512ffd [^]

Verifies issue 39940 : Added Automated Test "I39940_VerifyLockAndReload"

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I38212_OfflineTimeOut.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I39940_VerifyLockAndReloadInOffline.java
---
(0109593)
jorge-garcia   
2019-02-05 17:08   
Reopen issue to create backports
(0109594)
jorge-garcia   
2019-02-05 17:08   
Code reviewed and tested