Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027447Retail ModulesWeb POSpublic2014-08-24 00:542014-10-02 10:31
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
RR14Q4RR14Q4 
marvintm
No
0027447: Stabilization: Add a new method to clean the local storage and reload the web page
Stabilization: Add a new method to clean the local storage and reload the web page

This method will gather calls that require this functionality
Find the 'loginUsingCache' method in the ob-terminal-model.js
Verify that the local storage is cleaned and the web page reload
No tags attached.
depends on defect 0027166RR14Q4 closed Orekaria When the cache has no data for a user, the WebPOS should not try to load the non existent cache 
blocks feature request 0027329 new Retail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
blocks defect 0027446RR14Q4 closed Orekaria Stabilization: When the termInfo is invalid the page will not properly load 
blocks defect 0027464RR14Q4 closed Orekaria Stabilization: When the local database is corrupted, the loginUsingCache method will fail to find the current user 
blocks defect 0027465RR14Q4 closed Orekaria Stabilization: When 'setUserModelOnline' fails to save the current user info, the loading process fails 
Issue History
2014-08-24 00:54OrekariaNew Issue
2014-08-24 00:54OrekariaAssigned To => Orekaria
2014-08-24 00:54OrekariaTriggers an Emergency Pack => No
2014-08-24 00:54OrekariaRelationship addedblocks 0027329
2014-08-24 00:54OrekariaRelationship addedblocks 0027446
2014-08-24 01:00hgbotCheckin
2014-08-24 01:00hgbotNote Added: 0069658
2014-08-24 01:00hgbotStatusnew => resolved
2014-08-24 01:00hgbotResolutionopen => fixed
2014-08-24 01:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2aec61ce9f25bc9e4bda00e566cbf31b5770224e [^]
2014-08-24 01:12hgbotCheckin
2014-08-24 01:12hgbotNote Added: 0069660
2014-08-24 23:25hgbotCheckin
2014-08-24 23:25hgbotNote Added: 0069691
2014-08-25 13:18OrekariaStatusresolved => new
2014-08-25 13:18OrekariaResolutionfixed => open
2014-08-25 13:18OrekariaStatusnew => scheduled
2014-08-25 13:18Orekariafix_in_branch => pi
2014-08-26 01:39hgbotCheckin
2014-08-26 01:39hgbotNote Added: 0069727
2014-08-26 01:50OrekariaRelationship addedblocks 0027464
2014-08-26 02:02OrekariaRelationship addedblocks 0027465
2014-08-27 10:24OrekariaRelationship addeddepends on 0027166
2014-08-27 14:00Orekariafix_in_branchpi =>
2014-08-27 14:00OrekariaSummaryStabilization: Add a new method to clean the local storage are reload the web page => Stabilization: Add a new method to clean the local storage and reload the web page
2014-08-27 14:00OrekariaDescription Updatedbug_revision_view_page.php?rev_id=6473#r6473
2014-09-02 21:58OrekariaStatusscheduled => resolved
2014-09-02 21:58OrekariaFixed in Version => RR14Q4
2014-09-02 21:58OrekariaResolutionopen => fixed
2014-09-03 10:50hgbotCheckin
2014-09-03 10:50hgbotNote Added: 0069935
2014-09-04 13:19hgbotCheckin
2014-09-04 13:19hgbotNote Added: 0069962
2014-09-10 00:12hgbotCheckin
2014-09-10 00:12hgbotNote Added: 0070065
2014-09-25 00:07hgbotCheckin
2014-09-25 00:07hgbotNote Added: 0070338
2014-09-29 19:50marvintmReview Assigned To => marvintm
2014-09-29 19:50marvintmStatusresolved => closed
2014-10-02 10:31hgbotCheckin
2014-10-02 10:31hgbotNote Added: 0070649

Notes
(0069658)
hgbot   
2014-08-24 01:00   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2aec61ce9f25bc9e4bda00e566cbf31b5770224e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 24 00:59:55 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2aec61ce9f25bc9e4bda00e566cbf31b5770224e [^]

Fixes issue 27447: A new method called 'cleanLocalStorageAndReload' has been added to ob-terminal-model.js

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069660)
hgbot   
2014-08-24 01:12   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 27fd59894ed08e821a84305859b8a26034a264bf
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 24 01:11:59 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/27fd59894ed08e821a84305859b8a26034a264bf [^]

Related to issue 27447: the 'loginUsingCache' method has been refactored to use 'cleanLocalStorageAndReload'

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069691)
hgbot   
2014-08-24 23:25   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 61c66a6b3fab44c24c307f3b2b1cd1c7455c553f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 24 23:18:54 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/61c66a6b3fab44c24c307f3b2b1cd1c7455c553f [^]

Related to issue 27447: The terminal is set again when the 'cleanLocalStorageAndReload' is called

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069727)
hgbot   
2014-08-26 01:39   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0fa1683f4eeb717c3a8a7f9a7bcb64bfc55b63a4
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Aug 26 01:38:50 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0fa1683f4eeb717c3a8a7f9a7bcb64bfc55b63a4 [^]

Related to issue 27447: 'cleanLocalStorageAndReload' also delete the current user record from the ad_user table...
This is done not to have further login issues

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069935)
hgbot   
2014-09-03 10:50   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6298da5c2a67a8746b5390aaa49fa1e016b9141c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Sep 03 10:49:00 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6298da5c2a67a8746b5390aaa49fa1e016b9141c [^]

Fixes to issue 27447: 'cleanLocalStorageAndReload' will reload in all cases

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069962)
hgbot   
2014-09-04 13:19   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3eecdc9039013a53485481d77bd1e0c2f5c7d7e4
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Sep 04 13:19:07 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3eecdc9039013a53485481d77bd1e0c2f5c7d7e4 [^]

Fixes to issue 27447: the callee is passed to 'cleanLocalStorageAndReload' to know which method originated the call

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070065)
hgbot   
2014-09-10 00:12   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b5f32b08731edc6bbfbda61c25b7edd4f7b40068
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Sep 09 23:04:34 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b5f32b08731edc6bbfbda61c25b7edd4f7b40068 [^]

Fixes to issue 27447: 'cleanLocalStorageAndReload' will logout in all cases

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070338)
hgbot   
2014-09-25 00:07   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: be026f9fc973a327aa773fe6489ac4b55f1996d0
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Sep 25 00:07:16 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/be026f9fc973a327aa773fe6489ac4b55f1996d0 [^]

Related to issue 27447: More descriptive error message

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070649)
hgbot   
2014-10-02 10:31   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5d49c7ddf84223917fa8349df28441e6e3fba07f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Oct 02 10:31:37 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5d49c7ddf84223917fa8349df28441e6e3fba07f [^]

Related to issue 27447: the 'cleanLocalStorageAndReload' method has been renamed to 'loadingErrorsActions'

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