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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046077
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-03-15 17:102021-03-22 08:52
ReporterjetxarriView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q3.4SCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046077: Double upper case in the where clause searching by Name, search key or UPC

DescriptionThe problem happens when the user works with cache not initialized. If the user tries to find a product by "Name, search key or UPC" the result will create the following query "SimpleQueryBuilder --> getPart method":

..... or upper(upper(product3_.UPC)) like upper($2) ......

2 concatenated upper cases
Steps To Reproduce-Login into Web POS
-Press "search"
-Introduce a value in field "Name, search key or UPC" <-- Cache should not be initialized to force to do a remote search of the product.

The problem is that loaded property in the model is
 add(new HQLProperty("upper(product.uPCEAN)", "uPCEAN"));
instead of
 add(new HQLProperty("product.uPCEAN", "uPCEAN"));

As it is possible to see in file ProductProperties
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0046074 closedranjith_qualiantech_com Models with multiple queries do not accept pagination by Id 
related to defect 0046082 closedrqueralta Remote search of the product with wrong order by 

-  Notes
(0126815)
marvintm (manager)
2021-03-22 08:52

This issue has been fixed by the change in issue https://issues.openbravo.com/view.php?id=46082 [^]

https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/192/diffs [^]

- Issue History
Date Modified Username Field Change
2021-03-15 17:10 jetxarri New Issue
2021-03-15 17:10 jetxarri Assigned To => Retail
2021-03-15 17:10 jetxarri Triggers an Emergency Pack => No
2021-03-15 17:30 rafaroda Resolution time => 1617141600
2021-03-15 17:30 rafaroda Severity minor => major
2021-03-15 17:31 rafaroda Tag Attached: NOR
2021-03-15 17:31 rafaroda Relationship added related to 0046074
2021-03-16 13:21 shuehner Relationship added related to 0046082
2021-03-16 20:05 rqueralta Assigned To Retail => rqueralta
2021-03-16 20:05 rqueralta Status new => scheduled
2021-03-22 08:52 marvintm Note Added: 0126815
2021-03-22 08:52 marvintm Status scheduled => resolved
2021-03-22 08:52 marvintm Fixed in Version => RR21Q2
2021-03-22 08:52 marvintm Resolution open => fixed
2021-03-22 08:52 marvintm Review Assigned To => marvintm
2021-03-22 08:52 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker