Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052280 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2023-04-27 13:25 | 2023-04-27 15:48 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR23Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0052280: Remote queries with boolean properties are not built properly | |||||||
Description | Remote 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 Solution | Generate the query without that unneeded upper, i.e., instead of: and upper(businesspa0_.IsCustomer)=$5 the filter should be: and businesspa0_.IsCustomer=$5 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |