Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034819Retail ModulesWeb POSpublic2016-12-23 11:232024-02-08 14:45
christiangoni 
rqueralta 
normalmajoralways
closedout of date 
5
 
 
No
No
0034819: Error saving the user after clearing the localStorage data and reload
When the user clears the localstorage data and reload the POS, the username should be save correctly from the cookie, but it is not happening. The username is saved in the local database as 'undefined'. This breaks the offline functionality if a logout&login while being offline is done.
Login as 'vallblanca'
Clear localStorage data
Reload the page
Now, the saved username is 'undefined'
GoOffline
Logout
Login as 'vallblanca' => invalid username, it should works
No tags attached.
Issue History
2016-12-23 11:23christiangoniNew Issue
2016-12-23 11:23christiangoniAssigned To => Retail
2016-12-23 11:23christiangoniOBNetwork customer => No
2016-12-23 11:23christiangoniTriggers an Emergency Pack => No
2016-12-23 14:00jorge-garciaSummaryError saving the user after clearing the localStorage data & reload => Error saving the user after clearing the localStorage data and reload
2017-01-02 10:30christiangoniAssigned ToRetail => christiangoni
2017-04-26 20:52rqueraltaAssigned Tochristiangoni => rqueralta
2017-04-26 21:05rqueraltaStatusnew => scheduled
2017-05-11 15:50hgbotCheckin
2017-05-11 15:50hgbotNote Added: 0096530
2017-05-11 15:50hgbotStatusscheduled => resolved
2017-05-11 15:50hgbotResolutionopen => fixed
2017-05-11 15:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c55cdb1fb7d2a28c50272536ee833ec2c6ecc8bf [^]
2017-05-12 09:19hgbotCheckin
2017-05-12 09:19hgbotNote Added: 0096543
2017-05-12 09:21jorge-garciaNote Added: 0096544
2017-05-12 09:21jorge-garciaStatusresolved => new
2017-05-12 09:21jorge-garciaResolutionfixed => open
2024-02-08 14:45shuehnerNote Added: 0160459
2024-02-08 14:45shuehnerStatusnew => closed
2024-02-08 14:45shuehnerResolutionopen => out of date

Notes
(0096530)
hgbot   
2017-05-11 15:50   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c55cdb1fb7d2a28c50272536ee833ec2c6ecc8bf
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon May 08 22:34:28 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c55cdb1fb7d2a28c50272536ee833ec2c6ecc8bf [^]

Fixed issue 34819: Error saving the user after clearing the localStorage data
and reload

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0096543)
hgbot   
2017-05-12 09:19   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6d5078ff518b78c6f70b750b1f6599855cd345ff
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri May 12 09:18:25 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6d5078ff518b78c6f70b750b1f6599855cd345ff [^]

Related to issue 34819: Error saving the user after clearing the localStorage data
and reload

Backed out changeset c55cdb1fb7d2

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0096544)
jorge-garcia   
2017-05-12 09:21   
The pushed commit broke integrations of retail. Backout of the change has been done and pushed to the main repo.
(0160459)
shuehner   
2024-02-08 14:45   
After mass reviewing old pos issues in 52891 => Closing as out of date