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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032925
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2016-05-10 19:162016-05-17 19:07
ReportermarvintmView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in VersionRR16Q1.2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR16Q1.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - Confirmed Stable
Regression date2015-09-29
Regression introduced in releaseRR15Q4
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53d6ce968da4f824e98a638257379a31da609f97 [^]
Triggers an Emergency PackNo
Summary

0032925: Web POS never comes back after it has gone offline

DescriptionThe Web POS should automatically detect that connection came back after being offline, and should either initiate an automatic synchronization of the data in case the session is still valid, or prompt the user to log in again if it's not.

However, instead, nothing happens, and the Web POS never detects that connection came back until the user manually refreshes the browser.
Steps To Reproduce- Log in online mode in the Web POS.
- Stop tomcat.
- Complete a ticket. Here the Web POS correctly detects that it is offline.
- Start tomcat again.
- Wait more than one minute. Nothing happens (this is wrong, as the Web POS should have been detected that connection came back)
- Try to do a ticket. Even in this case, nothing happens.


Another different flow which also doesn't work:
- Log in the Web POS while being online
- Disable connection
- Create a ticket.
- Enable connection.
- After some time, the ticket should be automatically sent to the backend. However, this doesn't happen.
- If you create a second ticket while being offline, however, it seems both the first and second are sent.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0032920 closedmigueldejuana Web POS never comes back after it has gone offline 

-  Notes
(0086469)
migueldejuana (developer)
2016-05-16 15:31

Repository: retail/backports/3.0RR16Q1.2/org.openbravo.mobile.core
Changeset: 76ac0af0d497b2e92977589db705076f5f67712d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon May 16 15:26:59 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1.2/org.openbravo.mobile.core/rev/76ac0af0d497b2e92977589db705076f5f67712d [^] [^]

Fixed issue 0032925: Web POS never comes back after it has gone offline

- Change offline ping from 5 to 1 minute
- Ping (MobileSessionActive) is always returning false inResponse. The request finish successfully but the response is false. If the session is dead in the server side, a modal will be shown to do login again.

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js

- Issue History
Date Modified Username Field Change
2016-05-11 10:59 marvintm Type defect => backport
2016-05-11 10:59 marvintm Target Version => RR16Q1.3
2016-05-16 15:31 migueldejuana Note Added: 0086469
2016-05-16 15:31 migueldejuana Status scheduled => resolved
2016-05-16 15:31 migueldejuana Resolution open => fixed
2016-05-16 16:22 migueldejuana Target Version RR16Q1.3 => RR16Q1.2
2016-05-17 19:07 marvintm Review Assigned To => marvintm
2016-05-17 19:07 marvintm Status resolved => closed
2016-05-17 19:07 marvintm Fixed in Version => RR16Q1.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker