Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0034888 | Retail Modules | Web POS | public | 2017-01-03 17:06 | 2017-01-16 13:57 | |||||||
Reporter | jorge-garcia | |||||||||||
Assigned To | jorge-garcia | |||||||||||
Priority | urgent | Severity | major | Reproducibility | sometimes | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR16Q4.1 | Fixed in Version | RR16Q4.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | Pre packaging ( pi ) | |||||||||||
Regression date | 2016-12-14 | |||||||||||
Regression introduced in release | main | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8435373ee62da7f6c0d667ba227e1e37c10f87e9 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0034888: Scanning could not work if the model has change but cache is not deleted | |||||||||||
Description | When we use findUsingCache, the result of the search is cached in memory. This is working fine until a new incremental refresh is done and the model of Product has change (for example, changing the UPC/EAN code associated). If the cache is not deleted, the result returned will not change. | |||||||||||
Steps To Reproduce | 1) Go to backend and add/change the UPC/EAN code 2) Clean the cache of the browser and log in the webpos 3) Scan that UPC/EAN code and check the product is added to the receipt. 4) Clean this receipt 5) Go again to backend, and change the UPC/EAN code of that product again 6) Wait until the incremental refresh is done (don't do a browser refresh nor clean the cache). 7) Scan the new UPC/EAN code and check no products is added. | |||||||||||
Proposed Solution | In OB.DAL.findUsingCache from 'productSearch' and 'productPrice' should have a parameter after the error callback like this {modelsAffectedByCache: ['Product']} --> This is for 'productSearch' part. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-01-10 12:10 | jorge-garcia | Type | defect => backport | |||||||||
2017-01-10 12:10 | jorge-garcia | Target Version | pi => RR16Q4.1 | |||||||||
2017-01-11 13:32 | hgbot | Checkin | ||||||||||
2017-01-11 13:32 | hgbot | Note Added: 0093357 | ||||||||||
2017-01-11 13:32 | hgbot | Status | scheduled => resolved | |||||||||
2017-01-11 13:32 | hgbot | Resolution | open => fixed | |||||||||
2017-01-11 13:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR16Q4.1/org.openbravo.retail.posterminal/rev/e43c590fbd5cbc190375e58f04436ecf1513bfb1 [^] | |||||||||
2017-01-16 13:57 | marvintm | Review Assigned To | => marvintm | |||||||||
2017-01-16 13:57 | marvintm | Status | resolved => closed | |||||||||
2017-01-16 13:57 | marvintm | Fixed in Version | => RR16Q4.1 |
Notes | |||||
|
|||||
|
|