Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038717
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSminorhave not tried2018-06-07 13:062018-09-27 17:03
ReportermalsasuaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q4
StatusclosedFix in branchFixed in SCM revision8264f7b6121a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038717: when refresh browser in offline, login window is displayed

Descriptionwhen you are working in offline, and browser is refreshed, login window is displayed.

This behavior is not correct, as in online, if the browser is refreshed, no login window is displayed
Steps To Reproduce.[online] do login
.[online] add product
.[online] refresh browser -> no login window is displayed (It is ok)
.[offline] refresh browser -> login window is displayed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0038212RR18Q4 closedjorge-garcia It would be fine to define the time limit a POS terminal can be offline 

-  Notes
(0105532)
javierRodriguez (developer)
2018-07-02 17:51

This behavior is the expected one. If you want to change it, you have to mark it as design defect.
(0106332)
hgbot (developer)
2018-08-14 08:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8264f7b6121aaa4f62cb0e44b5b15c5dd076d13f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Aug 07 12:37:44 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8264f7b6121aaa4f62cb0e44b5b15c5dd076d13f [^]

Fixed issue 38717: when refresh browser in offline, login window is
displayed

This commit includes:
  * Included new preference property called “Web POS Offline session time
    expiration” in reference list.
  * Preference value is set in localStorage before login to be used
    during login.

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0106333)
hgbot (developer)
2018-08-14 08:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a9e1f47dc48afa0d46992ab3f6d1d0ead14ae780
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Aug 07 12:49:42 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a9e1f47dc48afa0d46992ab3f6d1d0ead14ae780 [^]

Related to issue 38717: when refresh browser in offline, login window is
displayed

Added new default value for “Web POS Offline session time expiration” preference
of 60 minutes.

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
---
(0106335)
hgbot (developer)
2018-08-14 08:22

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0f0ee38700b1a953683a4ad0476f4d89f1df829d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Aug 07 14:59:37 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0f0ee38700b1a953683a4ad0476f4d89f1df829d [^]

Related to issue 38717: when refresh browser in offline, login window is
displayed

If the user goes offline, the logic will check the new preference “ Web POS
Offline session time expiration” to decide if it should continue to pointofsale
window or should go to login page. This deceission is made checking the last
successful online request done.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0106337)
hgbot (developer)
2018-08-14 08:22

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fe4ad38b1f0102c6a0667f4d0f3db2e2f8fb0af1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 13 12:38:33 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe4ad38b1f0102c6a0667f4d0f3db2e2f8fb0af1 [^]

Related to issue 38717: when refresh browser in offline, login window is
displayed

Save last user id and user name logged in the application to search
its proper active session in case the application is being reloaded
in offline.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0106852)
hgbot (developer)
2018-09-19 08:44

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d3ebe5685a0904e895ba8b6655cad9d42e010314
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 17 13:03:46 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d3ebe5685a0904e895ba8b6655cad9d42e010314 [^]

Related to issue 38717: when refresh browser in offline, login window is
displayed

Change message level and message info.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0106853)
hgbot (developer)
2018-09-19 08:45

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cf9212bf73e6ea14d43a7b8a7df1a0f77bff3012
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 03 11:47:57 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cf9212bf73e6ea14d43a7b8a7df1a0f77bff3012 [^]

Related to issue 38717: when refresh browser in offline, login window is
displayed

Change LoginUtilsServlet to get system preferences correctly and send those
preferences to the client.

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
---
(0107037)
hgbot (developer)
2018-09-26 13:18

Repository: tools/automation/pi-mobile
Changeset: 62303caff0ad2f78dd3509b2af7edd1c0a6fda64
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Wed Sep 26 13:18:07 2018 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/62303caff0ad2f78dd3509b2af7edd1c0a6fda64 [^]

Related to issue 38717: when refresh browser in offline, login window is displayed

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I38717_SessionTimeExpiration.java
---
(0107056)
hgbot (developer)
2018-09-27 17:03

Repository: tools/automation/pi-mobile
Changeset: 4969a550f4682b783c991e12b4f039b7759c176c
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu Sep 27 17:03:36 2018 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4969a550f4682b783c991e12b4f039b7759c176c [^]

Related to issue 38717

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I38717_SessionTimeExpiration.java
---

- Issue History
Date Modified Username Field Change
2018-06-07 13:06 malsasua New Issue
2018-06-07 13:06 malsasua Assigned To => Retail
2018-06-07 13:06 malsasua Triggers an Emergency Pack => No
2018-07-02 17:51 javierRodriguez Note Added: 0105532
2018-07-02 17:51 javierRodriguez Assigned To Retail => malsasua
2018-07-02 17:51 javierRodriguez Status new => feedback
2018-07-30 09:10 marvintm Status feedback => scheduled
2018-07-30 09:10 marvintm Type defect => design defect
2018-07-30 13:48 jorge-garcia Assigned To malsasua => jorge-garcia
2018-07-30 13:48 jorge-garcia Status scheduled => acknowledged
2018-08-13 13:15 jorge-garcia Status acknowledged => scheduled
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106332
2018-08-14 08:22 hgbot Status scheduled => resolved
2018-08-14 08:22 hgbot Resolution open => fixed
2018-08-14 08:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8264f7b6121aaa4f62cb0e44b5b15c5dd076d13f [^]
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106333
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106335
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106337
2018-08-21 15:08 marvintm Review Assigned To => marvintm
2018-08-21 15:08 marvintm Status resolved => closed
2018-08-21 15:08 marvintm Fixed in Version => RR18Q4
2018-09-19 08:44 hgbot Checkin
2018-09-19 08:44 hgbot Note Added: 0106852
2018-09-19 08:45 hgbot Checkin
2018-09-19 08:45 hgbot Note Added: 0106853
2018-09-26 13:18 hgbot Checkin
2018-09-26 13:18 hgbot Note Added: 0107037
2018-09-26 13:19 jorge-garcia Relationship added related to 0038212
2018-09-27 17:03 hgbot Checkin
2018-09-27 17:03 hgbot Note Added: 0107056


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker