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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042572
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Offline Modecriticalalways2019-12-11 09:292019-12-25 21:27
ReportermalsasuaView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in VersionRR19Q3.2
StatusclosedFix in branchFixed in SCM revision7586a17af2cb
ProjectionnoneETAnoneTarget VersionRR19Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0042572: with inestable network, the login offline is not working

Descriptionwhen the network is not stable and some requests are responding but other requests are not responding the login offline is not working
Steps To Reproduce1. open console developers tools
2. add a breakpoint in function attemptToLoginOffline
3. switch off the network
4. do login -> code is stopped in breakpoint 2
5. swith on the network
6. continue the execution of code
-> the login offline is done but few seconds later a new popup is displayed:
Online

The connection was restored. However, in the meantime, your session timed out. You must login again now to ensure proper synchronization. Your pending tickets will be saved.
7. login window is displayed again
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0042510 closedmigueldejuana with inestable network, the login offline is not working 

-  Notes
(0116495)
hgbot (developer)
2019-12-24 09:24

Repository: retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core
Changeset: de573b81745fc4401e36873c581d216fc156286c
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 24 09:24:10 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core/rev/de573b81745fc4401e36873c581d216fc156286c [^]

iFixed issue 0042572: with inestable network, the login offline is not working

- Centralize Modal of backend session lost in OB.UI.ModalOnline component
- When backend session is lost:
  * Show a message a bit more clear
  * Add a button to be able to Keep Working
- After pressing Keep Working, show lost session popup only after final reconnect cycle or after fast 5 seconds reconnect

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/component/dialog/ob-modalonline.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0116496)
hgbot (developer)
2019-12-24 09:24

Repository: retail/backports/3.0RR19Q3.2/pi-mobile
Changeset: f5a496d4c4160216af9849444ce23891d71683eb
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 24 09:07:46 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/pi-mobile/rev/f5a496d4c4160216af9849444ce23891d71683eb [^]

Fixed issue 0042572: with inestable network, the login offline is not working

- Adapt tests to new popup

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/selenium/TestIdCore.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagement.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWaitNoForce.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashup.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCreateBP.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineSimplesale.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyCustomerSearchKeySequenceOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyOfflineModeNoForce.java
---
(0116502)
hgbot (developer)
2019-12-24 11:48

Repository: retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core
Changeset: 4b11af73f636aa947af9aba9e17a6ef253a47dd5
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 24 11:48:16 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core/rev/4b11af73f636aa947af9aba9e17a6ef253a47dd5 [^]

Fixed issue 0042572: with inestable network, the login offline is not working

- Remove unneeded lock

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-modalonline.js
---
(0116503)
hgbot (developer)
2019-12-24 11:48

Repository: retail/backports/3.0RR19Q4.1/org.openbravo.mobile.core
Changeset: 7586a17af2cbf0dfc54f4a73f401a2ad2b99f935
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 24 11:48:53 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4.1/org.openbravo.mobile.core/rev/7586a17af2cbf0dfc54f4a73f401a2ad2b99f935 [^]

Fixed issue 0042572: with inestable network, the login offline is not working

- Remove unneeded lock

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-modalonline.js
---

- Issue History
Date Modified Username Field Change
2019-12-16 15:24 marvintm Type defect => backport
2019-12-16 15:24 marvintm Target Version => RR19Q3.2
2019-12-24 09:24 hgbot Checkin
2019-12-24 09:24 hgbot Note Added: 0116495
2019-12-24 09:24 hgbot Checkin
2019-12-24 09:24 hgbot Note Added: 0116496
2019-12-24 09:24 hgbot Status scheduled => resolved
2019-12-24 09:24 hgbot Resolution open => fixed
2019-12-24 09:24 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q3.2/pi-mobile/rev/f5a496d4c4160216af9849444ce23891d71683eb [^]
2019-12-24 11:48 hgbot Checkin
2019-12-24 11:48 hgbot Note Added: 0116502
2019-12-24 11:48 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR19Q3.2/pi-mobile/rev/f5a496d4c4160216af9849444ce23891d71683eb [^] => http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core/rev/4b11af73f636aa947af9aba9e17a6ef253a47dd5 [^]
2019-12-24 11:48 hgbot Checkin
2019-12-24 11:48 hgbot Note Added: 0116503
2019-12-24 11:48 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core/rev/4b11af73f636aa947af9aba9e17a6ef253a47dd5 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q4.1/org.openbravo.mobile.core/rev/7586a17af2cbf0dfc54f4a73f401a2ad2b99f935 [^]
2019-12-25 21:27 guilleaer Review Assigned To => guilleaer
2019-12-25 21:27 guilleaer Status resolved => closed
2019-12-25 21:27 guilleaer Fixed in Version => RR19Q3.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker