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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045288
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-10-22 16:062020-11-16 06:50
ReportermarvintmView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045288: MultiUPC module doesn't work correctly when scanning if many products are available in local mode

DescriptionCurrently 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 ReproduceConfigure 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)
TagsNo tags attached.
Attached Filesdiff file icon patch1.diff [^] (2,131 bytes) 2020-10-22 16:42 [Show Content]
diff file icon patch2.diff [^] (708 bytes) 2020-10-22 16:42 [Show Content]
diff file icon patch3.diff [^] (933 bytes) 2020-10-22 16:42 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0048054 closedranjith_qualiantech_com Products with multiple UPC/EAN not found in Web POS 

-  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
Powered by Mantis Bugtracker