Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045288 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2020-10-22 16:06 | 2020-11-16 06:50 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | patch1.diff [^] (2,131 bytes) 2020-10-22 16:42 [Show Content]
patch2.diff [^] (708 bytes) 2020-10-22 16:42 [Show Content] patch3.diff [^] (933 bytes) 2020-10-22 16:42 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0124247) hgbot (developer) 2020-11-10 03:42 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/merge_requests/4 [^] |
(0124381) hgbot (developer) 2020-11-16 06:50 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc [^] Changeset: f893ea068ffe4181d970fd4f0bac3189115e2c0a Author: Ranjith S R <ranjith@qualiantech.com> Date: 2020-11-16T05:49:53+00:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/commit/f893ea068ffe4181d970fd4f0bac3189115e2c0a [^] Fixed ISSUE-45288: Removed Cache query when searching multi upc For larger data, cache query was taking time to initialize --- M web/org.openbravo.retail.multiupc/js/extendUPCSearch.js M web/org.openbravo.retail.multiupc/js/multiupc.js --- |
(0124382) hgbot (developer) 2020-11-16 06:50 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/merge_requests/4 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |