Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026120Retail ModulesWeb POSpublic2014-03-28 13:312014-04-15 08:12
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
RR14Q2 
migueldejuana
No
0026120: Changing the terminal can potentially lead to data loss
When a browser logs in a POS terminal, and after that the user changes the terminal id from the URL, the database needs to be reset, because the master data needs to be reloaded.

This works correctly. The problem is that if the user in the meantime created data (such as tickets), this data is lost.
- Log in terminal VBS-1
- Create a ticket.
- Go to offline.
- Pay the ticket.
- Logout of the application
- Go online.
- Change the URL of the browser to go to terminal CMS-1.
- Check the local database. Realize that the ticket is no longer there.
A warning needs to be shown to the user in this case explaining the situation, and the database reset should not be done until the situation allows it.
No tags attached.
related to design defect 0026020RR14Q3 closed marvintm Failure proof ticket synchronisation with ERP system 
diff issue26120posterminal.diff (4,798) 2014-03-28 13:32
https://issues.openbravo.com/file_download.php?file_id=6785&type=bug
diff issue26120mobilecore.diff (2,303) 2014-03-28 13:32
https://issues.openbravo.com/file_download.php?file_id=6786&type=bug
Issue History
2014-03-28 13:31marvintmNew Issue
2014-03-28 13:31marvintmAssigned To => marvintm
2014-03-28 13:31marvintmTriggers an Emergency Pack => No
2014-03-28 13:32marvintmFile Added: issue26120posterminal.diff
2014-03-28 13:32marvintmFile Added: issue26120mobilecore.diff
2014-03-28 13:33marvintmRelationship addedrelated to 0026020
2014-04-03 12:57hgbotCheckin
2014-04-03 12:57hgbotNote Added: 0066124
2014-04-03 12:57hgbotStatusnew => resolved
2014-04-03 12:57hgbotResolutionopen => fixed
2014-04-03 12:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e10fe9512aa458bb7dd929200c14e082e316573f [^]
2014-04-03 12:57hgbotCheckin
2014-04-03 12:57hgbotNote Added: 0066125
2014-04-03 12:57hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e10fe9512aa458bb7dd929200c14e082e316573f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/88faf6451160eb51145f12dc71d742a13714dbb1 [^]
2014-04-15 08:12migueldejuanaReview Assigned To => migueldejuana
2014-04-15 08:12migueldejuanaNote Added: 0066406
2014-04-15 08:12migueldejuanaStatusresolved => closed
2014-04-15 08:12migueldejuanaFixed in Version => RR14Q2

Notes
(0066124)
hgbot   
2014-04-03 12:57   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e10fe9512aa458bb7dd929200c14e082e316573f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Apr 03 12:56:53 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e10fe9512aa458bb7dd929200c14e082e316573f [^]

Fixed issue 26120. Now before reseting the database, the process will check if there is data yet to be synced

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0066125)
hgbot   
2014-04-03 12:57   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 88faf6451160eb51145f12dc71d742a13714dbb1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Apr 03 12:57:22 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/88faf6451160eb51145f12dc71d742a13714dbb1 [^]

Fixed issue 26120. Now before reseting the database, the process will check if there is data yet to be synced

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0066406)
migueldejuana   
2014-04-15 08:12   
Tested and reviewed in 1682841dede8