Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027738Retail ModulesOffline Modepublic2014-10-02 12:232014-10-02 20:00
migueldejuana 
marvintm 
urgentcriticalalways
closedfixed 
5
 
RR14Q4RR14Q4 
Orekaria
Coding ( Testing )
2014-10-01
pi
No
0027738: Offline mode does not work
Offline mode does not work. When login it remains Loading...

The last line executed is:

 this.inherited(arguments);

in pointofsale.js in the init() method
- Login online.
- Go offline
- Press F5
- Login offline
- Error: Loading...
No tags attached.
Issue History
2014-10-02 12:23migueldejuanaNew Issue
2014-10-02 12:23migueldejuanaAssigned To => marvintm
2014-10-02 12:23migueldejuanaRegression level => Coding ( Testing )
2014-10-02 12:23migueldejuanaRegression date => 2014-10-01
2014-10-02 12:23migueldejuanaRegression introduced in release => pi
2014-10-02 12:23migueldejuanaTriggers an Emergency Pack => No
2014-10-02 18:51hgbotCheckin
2014-10-02 18:51hgbotNote Added: 0070670
2014-10-02 18:51hgbotStatusnew => resolved
2014-10-02 18:51hgbotResolutionopen => fixed
2014-10-02 18:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/955d45f09e897cf3d09bda440ddf4e72ad6047fc [^]
2014-10-02 20:00OrekariaReview Assigned To => Orekaria
2014-10-02 20:00OrekariaStatusresolved => closed
2014-10-02 20:00OrekariaFixed in Version => RR14Q4

Notes
(0070670)
hgbot   
2014-10-02 18:51   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 955d45f09e897cf3d09bda440ddf4e72ad6047fc
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Oct 02 18:50:53 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/955d45f09e897cf3d09bda440ddf4e72ad6047fc [^]

Fixed issue 27738. Offline login will now work again.
- The failure callback of a request for the loginUtilsServlet was being executed twice (once when the request failed, and a second one when the timeout was triggered). This in turn caused that if you logged in too quickly, a navigation to the login page happened after you had already reached the main POS screen.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---