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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038212
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorhave not tried2018-03-23 13:272018-09-26 13:16
ReporteraferrazView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q4
StatusclosedFix in branchFixed in SCM revisiond2d03c88a670
ProjectionnoneETAnoneTarget VersionRR18Q4
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

0038212: It would be fine to define the time limit a POS terminal can be offline

DescriptionIt would be fine to define the time limit a POS terminal can be offline
Steps To ReproduceN/A
Proposed SolutionDefine with a preference the maximum minutes a POS terminal can be offline.
This preference will have search key "OBPOS_MaxTimeInOffline", and name "Web POS Maximum time which the terminal can be offline"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0038717 closedjorge-garcia when refresh browser in offline, login window is displayed 

-  Notes
(0106331)
hgbot (developer)
2018-08-14 08:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d2d03c88a6708920082b24c006df061724e7c6f7
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 31 13:50:37 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d2d03c88a6708920082b24c006df061724e7c6f7 [^]

Fixed issue 38212: It would be fine to define the time limit a POS terminal
can be offline

This commit includes:
  * New property reference list called “Web POS Maximum time which the terminal
    can be offline”.
  * This new preference should be define at System level and the value should
    be in minutes.
  * Once set, the preference value is saved in browser’s localstorage.

---
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
---
(0106334)
hgbot (developer)
2018-08-14 08:22

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d3564e0d084e981d40b9eaa4a7493cdac9ded15f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 31 16:02:10 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d3564e0d084e981d40b9eaa4a7493cdac9ded15f [^]

Related to issue 38212: It would be fine to define the time limit a POS terminal
can be offline

This commit includes:
  * New localstorage property with the last successful online request done
    included in request router of type failover and ping.
  * Two new function to set a timeout in which the terminal could be offline
    and to clear the timeout in case the application comes back online.
  * Include a check n the first steps of the login in case the difference
    between the last successful online request and exact moment of the login is
    greater than the maximum time allowed to be offline. In case this condition
    is satisfied, the login process is stopped and the application request to go
    again online.
  * Added two new messages to inform the user the maximum offline time has
    been exceeded.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0106336)
hgbot (developer)
2018-08-14 08:22

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

Related to issue 38212: It would be fine to define the time limit a POS terminal
can be offline

Change info message to debug message.

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0107036)
hgbot (developer)
2018-09-26 13:16

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

Related to issue 38212: It would be fine to define the time limit a POS terminal can be offline

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/utils/RetailUtils.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSTerminalHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I38212_OfflineTimeOut.java
---

- Issue History
Date Modified Username Field Change
2018-03-23 13:27 aferraz New Issue
2018-03-23 13:27 aferraz Assigned To => Retail
2018-03-23 13:27 aferraz Triggers an Emergency Pack => No
2018-05-25 09:55 marvintm Proposed Solution updated
2018-06-15 09:49 aferraz Proposed Solution updated
2018-07-02 17:15 migueldejuana Target Version RR18Q3 => RR18Q4
2018-07-30 13:35 jorge-garcia Status new => scheduled
2018-07-30 13:48 jorge-garcia Assigned To Retail => jorge-garcia
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106331
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/d2d03c88a6708920082b24c006df061724e7c6f7 [^]
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106334
2018-08-14 08:22 hgbot Checkin
2018-08-14 08:22 hgbot Note Added: 0106336
2018-08-21 15:07 marvintm Review Assigned To => marvintm
2018-08-21 15:07 marvintm Status resolved => closed
2018-08-21 15:07 marvintm Fixed in Version => RR18Q4
2018-09-26 13:16 hgbot Checkin
2018-09-26 13:16 hgbot Note Added: 0107036
2018-09-26 13:19 jorge-garcia Relationship added related to 0038717


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker