Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027465Retail ModulesWeb POSpublic2014-08-26 02:002014-09-30 10:58
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
marvintm
No
0027465: Stabilization: When 'setUserModelOnline' fails to save the current user info, the loading process fails
Stabilization: When 'setUserModelOnline' was enable to save the current user, the loading process failed
Sometimes, OB.Dal.save fails to save the current user data
No tags attached.
related to defect 0027342RR14Q4 closed Orekaria Stabilization: Unuseful code in ob-terminal-model.js - setUserModelOnline 
depends on feature request 0027447RR14Q4 closed Orekaria Stabilization: Add a new method to clean the local storage and reload the web page 
blocks feature request 0027329 new Retail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
blocks defect 0028056 closed Orekaria Sometimes login gets stucked because asyncrony problems 
Issue History
2014-08-26 02:00OrekariaNew Issue
2014-08-26 02:00OrekariaAssigned To => Orekaria
2014-08-26 02:00OrekariaTriggers an Emergency Pack => No
2014-08-26 02:01OrekariaStatusnew => acknowledged
2014-08-26 02:02OrekariaSummaryStabilization: When 'setUserModelOnline' was enable to save the current user, the loading process failed => Stabilization: When 'setUserModelOnline' fails to save the current user info, the loading process fails
2014-08-26 02:02OrekariaRelationship addeddepends on 0027447
2014-08-26 02:03OrekariaRelationship addedblocks 0027329
2014-08-26 02:11OrekariaRelationship addedrelated to 0027342
2014-08-26 02:53hgbotCheckin
2014-08-26 02:53hgbotNote Added: 0069730
2014-09-02 22:05OrekariaStatusacknowledged => scheduled
2014-09-02 22:05Orekariafix_in_branch => pi
2014-09-02 22:05OrekariaStatusscheduled => resolved
2014-09-02 22:05OrekariaFixed in Version => RR14Q4
2014-09-02 22:05OrekariaResolutionopen => fixed
2014-09-03 10:50hgbotCheckin
2014-09-03 10:50hgbotNote Added: 0069936
2014-09-26 01:18hgbotCheckin
2014-09-26 01:18hgbotNote Added: 0070415
2014-09-26 01:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/349ec2825e450d7690d62fc4fab4dcd2adeeb32e [^]
2014-09-26 01:23hgbotCheckin
2014-09-26 01:23hgbotNote Added: 0070416
2014-09-28 04:56hgbotCheckin
2014-09-28 04:56hgbotNote Added: 0070470
2014-09-30 01:34hgbotCheckin
2014-09-30 01:34hgbotNote Added: 0070520
2014-09-30 01:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/349ec2825e450d7690d62fc4fab4dcd2adeeb32e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d59d66cc0efe334bc2f8e89e8d830173c73218b3 [^]
2014-09-30 10:58marvintmReview Assigned To => marvintm
2014-09-30 10:58marvintmStatusresolved => closed
2014-11-25 15:10OrekariaRelationship addedblocks 0028056

Notes
(0069730)
hgbot   
2014-08-26 02:53   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a7618246161ab144f3a669505d464538aced887a
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Aug 26 02:05:30 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a7618246161ab144f3a669505d464538aced887a [^]

Related to issue 27465: When 'setUserModelOnline' fails to save the current user info, the 'cleanLocalStorageAndReload' method will be called
- this is done in order to be sure that the environment has the proper data and to avoid further loading errors

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

Related to issue 27465: Better log message

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070415)
hgbot   
2014-09-26 01:18   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 349ec2825e450d7690d62fc4fab4dcd2adeeb32e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Sep 26 01:18:09 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/349ec2825e450d7690d62fc4fab4dcd2adeeb32e [^]

Fixes issue 27465: sometimes, more in slow computers, the 'user' table fail to be save in the local database
- a quick fix is applied until further analysis is performed
- the fix is just calling the same function again. this seems to happen only once after the first time failed

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070416)
hgbot   
2014-09-26 01:23   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 466425694092516915203f590d736d62628e02d8
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Sep 26 01:22:39 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/466425694092516915203f590d736d62628e02d8 [^]

Related to issue 27465: a comment has been added with the exception raised

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070470)
hgbot   
2014-09-28 04:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4fbbe43fd5a351c2c51ce636873b7c5c179a1760
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Sep 28 04:56:15 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4fbbe43fd5a351c2c51ce636873b7c5c179a1760 [^]

Related to issue 27465: backed out the quickfix for the 'setUserModelOnline I' loading error

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0070520)
hgbot   
2014-09-30 01:34   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d59d66cc0efe334bc2f8e89e8d830173c73218b3
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Sep 30 01:33:44 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d59d66cc0efe334bc2f8e89e8d830173c73218b3 [^]

Fixes issue 27465: Asyncrhony is nice but reliability is better than performance

Sometimes slow is better than fast

- the 'setUserModelOnline' method executes the actions synchonously

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