Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026120
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2014-03-28 13:312014-04-15 08:12
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR14Q2
StatusclosedFix in branchFixed in SCM revision88faf6451160
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026120: Changing the terminal can potentially lead to data loss

DescriptionWhen 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.
Steps To Reproduce- 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.
Proposed SolutionA 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.
TagsNo tags attached.
Attached Filesdiff file icon issue26120posterminal.diff [^] (4,798 bytes) 2014-03-28 13:32 [Show Content]
diff file icon issue26120mobilecore.diff [^] (2,303 bytes) 2014-03-28 13:32 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0026020RR14Q3 closedmarvintm Failure proof ticket synchronisation with ERP system 

-  Notes
(0066124)
hgbot (developer)
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 (developer)
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 (developer)
2014-04-15 08:12

Tested and reviewed in 1682841dede8

- Issue History
Date Modified Username Field Change
2014-03-28 13:31 marvintm New Issue
2014-03-28 13:31 marvintm Assigned To => marvintm
2014-03-28 13:31 marvintm Triggers an Emergency Pack => No
2014-03-28 13:32 marvintm File Added: issue26120posterminal.diff
2014-03-28 13:32 marvintm File Added: issue26120mobilecore.diff
2014-03-28 13:33 marvintm Relationship added related to 0026020
2014-04-03 12:57 hgbot Checkin
2014-04-03 12:57 hgbot Note Added: 0066124
2014-04-03 12:57 hgbot Status new => resolved
2014-04-03 12:57 hgbot Resolution open => fixed
2014-04-03 12:57 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e10fe9512aa458bb7dd929200c14e082e316573f [^]
2014-04-03 12:57 hgbot Checkin
2014-04-03 12:57 hgbot Note Added: 0066125
2014-04-03 12:57 hgbot Fixed in SCM revision http://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:12 migueldejuana Review Assigned To => migueldejuana
2014-04-15 08:12 migueldejuana Note Added: 0066406
2014-04-15 08:12 migueldejuana Status resolved => closed
2014-04-15 08:12 migueldejuana Fixed in Version => RR14Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker