Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037172 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | have not tried | 2017-08-16 12:15 | 2017-10-31 09:28 | |||
Reporter | jorge-garcia | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q3.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | dfed213bf2f4 | ||||
Projection | none | ETA | none | Target Version | RR17Q3.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037172: A sanity check must be added to the login to avoid some scenarios with corrupted data | |||||||
Description | The idea of this sanity check is simple and it's ONLY used in full refresh: * During the login, data from masterdata is loaded to the webPOS * This sanity check will compare the number of records sent from the server with the number of records present in the client-side database. * Here could be two scenarios: * Scenario 1 - All models has all the data sent by the server - In this case nothing happens and the user could work as usual * Scenario 2 - Some models doesn't have the same number of records in websql and in the server - In this case, a popup will be shown to force to the user to refresh again all the models | |||||||
Steps To Reproduce | Refer to the description to understand the problem | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0100115) hgbot (developer) 2017-10-27 12:44 |
Repository: retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal Changeset: 918ffc936a8eda9a0d1226a3b9991c15c0af6c05 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Oct 27 12:21:09 2017 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal/rev/918ffc936a8eda9a0d1226a3b9991c15c0af6c05 [^] Related to issue 37172: A sanity check must be added to the login to avoid some scenarios with corrupted data Change Discounts query to discard promotions deactivate during a full request. --- M src/org/openbravo/retail/posterminal/master/Discount.java --- |
(0100117) hgbot (developer) 2017-10-27 12:44 |
Repository: retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core Changeset: dfed213bf2f4ca1a83a0298f59f081fd3566302f Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Oct 27 12:24:35 2017 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core/rev/dfed213bf2f4ca1a83a0298f59f081fd3566302f [^] Fixed issue 37172: A sanity check must be added to the login to avoid some scenarios with corrupted data It’s necessary to add a check during the login of WebPOS to be sure all the data is correctly save in the client-side. This check is only done during a full refresh, when we can be sure that the number of records retrieved from the server are all the records that should be added in the client. In addition, some new log messages has been added to help us to debug possible errors in the future. --- M src/org/openbravo/mobile/core/process/ProcessHQLQuery.java M web/org.openbravo.mobile.core/source/data/ob-dal.js M web/org.openbravo.mobile.core/source/data/ob-datasource.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2017-10-27 09:17 | jorge-garcia | Type | defect => backport |
2017-10-27 09:17 | jorge-garcia | Target Version | => RR17Q3.1 |
2017-10-27 12:44 | hgbot | Checkin | |
2017-10-27 12:44 | hgbot | Note Added: 0100115 | |
2017-10-27 12:44 | hgbot | Checkin | |
2017-10-27 12:44 | hgbot | Note Added: 0100117 | |
2017-10-27 12:44 | hgbot | Status | scheduled => resolved |
2017-10-27 12:44 | hgbot | Resolution | open => fixed |
2017-10-27 12:44 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core/rev/dfed213bf2f4ca1a83a0298f59f081fd3566302f [^] |
2017-10-31 09:28 | marvintm | Status | resolved => closed |
2017-10-31 09:28 | marvintm | Fixed in Version | => RR17Q3.1 |
2017-11-17 10:50 | jorge-garcia | Relationship added | causes 0037286 |
Copyright © 2000 - 2009 MantisBT Group |