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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042510
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Offline Modecriticalalways2019-12-11 09:292019-12-24 11:50
ReportermalsasuaView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revision2891c6f22f9a
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

0042510: 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 Filesdiff file icon keepWorking18Q1.diff [^] (8,603 bytes) 2019-12-24 11:50 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0042571RR19Q4.1 closedmigueldejuana with inestable network, the login offline is not working 
depends on backport 0042572RR19Q3.2 closedmigueldejuana with inestable network, the login offline is not working 

-  Notes
(0116387)
hgbot (developer)
2019-12-18 07:02

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d5f72bed6f9261be3e7c1ed6ed35f17dcfdcadbd
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Dec 16 16:40:33 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d5f72bed6f9261be3e7c1ed6ed35f17dcfdcadbd [^]

Fixed issue 0042510: 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/legacy/ob-legacy.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
---
(0116388)
hgbot (developer)
2019-12-18 07:03

Repository: tools/automation/pi-mobile
Changeset: ee088b3e5cdb5ed95586a0f341cab7e6405cfbab
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 17 13:50:44 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ee088b3e5cdb5ed95586a0f341cab7e6405cfbab [^]

Fixed issue 0042510: 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
---
(0116389)
hgbot (developer)
2019-12-18 07:03

Repository: tools/automation/pi-mobile
Changeset: 2891c6f22f9a02a92b54c72d56d191c138649542
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 17 19:29:02 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2891c6f22f9a02a92b54c72d56d191c138649542 [^]

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

- Adapt tests to new popup

---
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
---

- Issue History
Date Modified Username Field Change
2019-12-11 09:29 malsasua New Issue
2019-12-11 09:29 malsasua Assigned To => Retail
2019-12-11 09:29 malsasua Triggers an Emergency Pack => No
2019-12-11 09:33 malsasua Resolution time => 1577919600
2019-12-12 10:34 malsasua Resolution time 1577919600 => 1576450800
2019-12-12 10:34 malsasua Priority normal => urgent
2019-12-12 10:34 malsasua Severity major => critical
2019-12-12 10:34 malsasua Reproducibility have not tried => always
2019-12-16 15:24 marvintm Assigned To Retail => migueldejuana
2019-12-16 15:24 marvintm Status new => scheduled
2019-12-16 16:43 migueldejuana File Added: issue42510.diff
2019-12-18 07:02 hgbot Checkin
2019-12-18 07:02 hgbot Note Added: 0116387
2019-12-18 07:02 hgbot Status scheduled => resolved
2019-12-18 07:02 hgbot Resolution open => fixed
2019-12-18 07:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d5f72bed6f9261be3e7c1ed6ed35f17dcfdcadbd [^]
2019-12-18 07:03 hgbot Checkin
2019-12-18 07:03 hgbot Note Added: 0116388
2019-12-18 07:03 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d5f72bed6f9261be3e7c1ed6ed35f17dcfdcadbd [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/ee088b3e5cdb5ed95586a0f341cab7e6405cfbab [^]
2019-12-18 07:03 hgbot Checkin
2019-12-18 07:03 hgbot Note Added: 0116389
2019-12-18 07:03 hgbot Fixed in SCM revision http://code.openbravo.com/tools/automation/pi-mobile/rev/ee088b3e5cdb5ed95586a0f341cab7e6405cfbab [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/2891c6f22f9a02a92b54c72d56d191c138649542 [^]
2019-12-18 13:10 egoitz Issue Monitored: egoitz
2019-12-19 14:27 maite Issue Monitored: networkb
2019-12-19 14:49 Leyre Issue Monitored: Leyre
2019-12-20 09:53 marvintm Review Assigned To => marvintm
2019-12-20 09:53 marvintm Status resolved => closed
2019-12-20 09:53 marvintm Fixed in Version => RR20Q1
2019-12-24 11:50 migueldejuana File Deleted: issue42510.diff
2019-12-24 11:50 migueldejuana File Added: keepWorking18Q1.diff


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker