Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
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

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
hgbot (developer)
2020-11-10 03:42

Merge Request created: [^]
hgbot (developer)
2020-11-16 06:50

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: f893ea068ffe4181d970fd4f0bac3189115e2c0a
Author: Ranjith S R <>
Date: 2020-11-16T05:49:53+00:00
URL: [^]

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
hgbot (developer)
2020-11-16 06:50

Merge request merged: [^]

- 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