Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040151Retail ModulesOffline Modepublic2019-01-14 14:142019-03-01 08:08
migueldejuana 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR18Q4.2RR18Q4.2 
marvintm
Production - QA Approved
2018-09-27
RR18Q4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe4ad38b1f0102c6a0667f4d0f3db2e2f8fb0af1#l1.8 [^]
No
0040151: 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.
blocks defect 0039940 closed ranjith_qualiantech_com Lockscreen offline is broken 
Issue History
2019-02-05 17:08jorge-garciaTypedefect => backport
2019-02-05 17:08jorge-garciaTarget Version => RR18Q4.2
2019-02-12 11:46hgbotCheckin
2019-02-12 11:46hgbotNote Added: 0109696
2019-02-12 11:46hgbotStatusscheduled => resolved
2019-02-12 11:46hgbotResolutionopen => fixed
2019-02-12 11:46hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c86b75b92638520516d1a153bd1af3d00fb97174 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4.2/org.openbravo.mobile.core/rev/493de64d625128b20ac76d505905d992b3441265 [^]
2019-02-12 11:46hgbotCheckin
2019-02-12 11:46hgbotNote Added: 0109697
2019-02-12 11:47hgbotCheckin
2019-02-12 11:47hgbotNote Added: 0109699
2019-02-19 09:24marvintmReview Assigned To => marvintm
2019-02-19 09:24marvintmStatusresolved => closed
2019-02-19 09:24marvintmFixed in Version => RR18Q4.2
2019-03-01 08:08hgbotCheckin
2019-03-01 08:08hgbotNote Added: 0110142
2019-03-01 08:08hgbotCheckin
2019-03-01 08:08hgbotNote Added: 0110143

Notes
(0109696)
hgbot   
2019-02-12 11:46   
Repository: retail/backports/3.0RR18Q4.2/org.openbravo.mobile.core
Changeset: 493de64d625128b20ac76d505905d992b3441265
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:15:37 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.2/org.openbravo.mobile.core/rev/493de64d625128b20ac76d505905d992b3441265 [^]

Fixed issue 40151 : 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
---
(0109697)
hgbot   
2019-02-12 11:46   
Repository: retail/backports/3.0RR18Q4.2/pi-mobile
Changeset: aa3fb3932666f7c834bd3abc3d71b78ceca8f99a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:15:53 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.2/pi-mobile/rev/aa3fb3932666f7c834bd3abc3d71b78ceca8f99a [^]

Related to issue 40151 : Applied New Java Formatting

---
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
---
(0109699)
hgbot   
2019-02-12 11:47   
Repository: retail/backports/3.0RR18Q4.2/pi-mobile
Changeset: ab103c8c10db654ab161425d10eba697365940aa
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:16:47 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.2/pi-mobile/rev/ab103c8c10db654ab161425d10eba697365940aa [^]

Verifies issue 40151 : Added Automated Test "I40151_VerifyLockAndReloadInOffline"

---
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/I40151_VerifyLockAndReloadInOffline.java
---
(0110142)
hgbot   
2019-03-01 08:08   
Repository: tools/automation/pi-mobile
Changeset: aa3fb3932666f7c834bd3abc3d71b78ceca8f99a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:15:53 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/aa3fb3932666f7c834bd3abc3d71b78ceca8f99a [^]

Related to issue 40151 : Applied New Java Formatting

---
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
---
(0110143)
hgbot   
2019-03-01 08:08   
Repository: tools/automation/pi-mobile
Changeset: ab103c8c10db654ab161425d10eba697365940aa
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:16:47 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ab103c8c10db654ab161425d10eba697365940aa [^]

Verifies issue 40151 : Added Automated Test "I40151_VerifyLockAndReloadInOffline"

---
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/I40151_VerifyLockAndReloadInOffline.java
---