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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046082
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-03-16 07:092021-03-22 08:46
ReporterjetxarriView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR21Q2
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

0046082: Remote search of the product with wrong order by

DescriptionWhen the Web POS cache is not initialized, if the user tries to search a product by, the order by value is "order by product.id" when it should be "order by product.name asc, product.id".

The problem is that the model is not remote but as cache is not initialized the system is using remote search.
Steps To Reproduce-Login to Web POS
-Before Cache is initialized (comment lines "this.models[model].searchCache = await this.find(model, criteria);" and "this.models[model].isLoadingCache = false;" in function "loadMasterdataCache")
-Press in search and insert something to search

Verify that the request is done to the back but the model as it is not marked as remote, the order by is by id.
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046077 closedrqueralta Double upper case in the where clause searching by Name, search key or UPC 

-  Notes
(0126760)
hgbot (developer)
2021-03-17 15:36

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/192 [^]
(0126809)
hgbot (developer)
2021-03-22 08:46

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/192 [^]
(0126810)
hgbot (developer)
2021-03-22 08:46

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 25b25f0a01681d0dfd784c0355590b41d3c9abc9
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-03-22T07:27:43+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/25b25f0a01681d0dfd784c0355590b41d3c9abc9 [^]

Fixed BUG-46082: If searchCache is empty for product model forceRemote was set as true

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---

- Issue History
Date Modified Username Field Change
2021-03-16 07:09 jetxarri New Issue
2021-03-16 07:09 jetxarri Assigned To => Retail
2021-03-16 07:09 jetxarri Triggers an Emergency Pack => No
2021-03-16 08:35 rafaroda Tag Attached: NOR
2021-03-16 08:35 rafaroda Resolution time => 1585605600
2021-03-16 13:21 shuehner Relationship added related to 0046077
2021-03-16 21:57 rqueralta Assigned To Retail => rqueralta
2021-03-16 21:57 rqueralta Status new => scheduled
2021-03-17 15:36 hgbot Note Added: 0126760
2021-03-18 08:00 marvintm Resolution time 1585605600 => 1617141600
2021-03-22 08:46 hgbot Resolution open => fixed
2021-03-22 08:46 hgbot Status scheduled => closed
2021-03-22 08:46 hgbot Note Added: 0126809
2021-03-22 08:46 hgbot Fixed in Version => RR21Q2
2021-03-22 08:46 hgbot Note Added: 0126810


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker