Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0045288 | Retail Modules | Web POS | public | 2020-10-22 16:06 | 2020-11-16 06:50 | |||||||
Reporter | marvintm | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0045288: MultiUPC module doesn't work correctly when scanning if many products are available in local mode | |||||||||||
Description | Currently multiupc module has a problem with the IndexedDB changes. The query to scan requires using the IndexedDB cache, as it is using the 'includes' operator and that makes it incompatible with the IndexedDB native indices. However, the cache takes a bit of time when the number of products is large. This means that while it is being initialised, the query will fail. The reason is that the file extendUPCSearch.js is checking the remote mode using the hasPermission API, instead of using the OB.UTIL.remoteSearch API | |||||||||||
Steps To Reproduce | Configure a system with multiupc module, and a large (>100k) number of products. Log in the WebPOS and try to scan using a multiupc code. Notice that the query doesn't find any product. Wait a few seconds/minutes, try again and notice that it works now (because cache was initialized) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | patch1.diff (2,131) 2020-10-22 16:42 https://issues.openbravo.com/file_download.php?file_id=15038&type=bug patch2.diff (708) 2020-10-22 16:42 https://issues.openbravo.com/file_download.php?file_id=15039&type=bug patch3.diff (933) 2020-10-22 16:42 https://issues.openbravo.com/file_download.php?file_id=15040&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-10-22 16:06 | marvintm | New Issue | ||||||||||
2020-10-22 16:06 | marvintm | Assigned To | => Retail | |||||||||
2020-10-22 16:06 | marvintm | Triggers an Emergency Pack | => No | |||||||||
2020-10-22 16:42 | AugustoMauch | File Added: patch1.diff | ||||||||||
2020-10-22 16:42 | AugustoMauch | File Added: patch2.diff | ||||||||||
2020-10-22 16:42 | AugustoMauch | File Added: patch3.diff | ||||||||||
2020-10-28 20:06 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2020-10-29 07:48 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2020-11-10 03:42 | hgbot | Note Added: 0124247 | ||||||||||
2020-11-16 06:50 | hgbot | Resolution | open => fixed | |||||||||
2020-11-16 06:50 | hgbot | Status | scheduled => closed | |||||||||
2020-11-16 06:50 | hgbot | Note Added: 0124381 | ||||||||||
2020-11-16 06:50 | hgbot | Note Added: 0124382 | ||||||||||
2021-12-31 06:52 | ranjith_qualiantech_com | Relationship added | related to 0048054 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|