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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052280
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2023-04-27 13:252023-04-27 15:48
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionRR23Q3
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

0052280: Remote queries with boolean properties are not built properly

DescriptionRemote queries with boolean properties are not built properly because and unneeded upper is added to the column linked to the boolean property:

and upper(businesspa0_.IsCustomer)=$5

The

and businesspa0_.IsCustomer=$5 order
Steps To Reproduce.
Proposed SolutionGenerate the query without that unneeded upper, i.e., instead of:

and upper(businesspa0_.IsCustomer)=$5

the filter should be:

and businesspa0_.IsCustomer=$5
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0052151 closedcaristu Masterdata Remote Mode - Phase 2 

-  Notes
(0148993)
hgbot (developer)
2023-04-27 13:31

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/504 [^]
(0149023)
hgbot (developer)
2023-04-27 15:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/504 [^]
(0149024)
hgbot (developer)
2023-04-27 15:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: d965d72d905093fc10990de5c1d785a0452b4d70
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 27-04-2023 13:29:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/d965d72d905093fc10990de5c1d785a0452b4d70 [^]

fixes BUG-52280: build remote filter for boolean properties correctly

  Now the CriteriaConverter passes a boolean property already supported
by the SimpleQueryBuilder that makes the filter by boolean not add an
unneeded upper transformation of the column.

---
M src-test/org/openbravo/mobile/core/master/TestBusinessPartner.java
M src-test/org/openbravo/mobile/core/process/InnerCritera.java
M src-test/org/openbravo/mobile/core/process/RemoteMasterDataTest.java
M web-test/model/remote/RemoteDataController.test.js
M web/org.openbravo.mobile.core/app/model/remote/CriteriaConverter.js
---

- Issue History
Date Modified Username Field Change
2023-04-27 13:25 caristu New Issue
2023-04-27 13:25 caristu Assigned To => caristu
2023-04-27 13:25 caristu Triggers an Emergency Pack => No
2023-04-27 13:25 caristu Issue generated from 0052151
2023-04-27 13:25 caristu Relationship added related to 0052151
2023-04-27 13:25 caristu Type feature request => defect
2023-04-27 13:31 hgbot Note Added: 0148993
2023-04-27 15:47 hgbot Note Added: 0149023
2023-04-27 15:48 hgbot Resolution open => fixed
2023-04-27 15:48 hgbot Status new => closed
2023-04-27 15:48 hgbot Fixed in Version => RR23Q3
2023-04-27 15:48 hgbot Note Added: 0149024


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker