Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045437 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-11-12 16:01 | 2020-11-24 13:14 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR21Q1 | |||
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 | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0045437: BaseOBObject appends parameters in hql query wrongly | |||||||
Description | BaseOBObject appends some parameters in HQL query string incorrectly, in method getTranslation. To avoid this, OBCriteria should be used instead. | |||||||
Steps To Reproduce | In description. | |||||||
Proposed Solution | Refactor and use OBCriteria instead. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0124330) hgbot (developer) 2020-11-12 16:04 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/229 [^] |
(0124584) hgbot (developer) 2020-11-24 13:14 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/229 [^] |
(0124585) hgbot (developer) 2020-11-24 13:14 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 77234a7a40433a981bb8bf73429ea4afa35a8284 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 2020-11-24T11:53:31+00:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/77234a7a40433a981bb8bf73429ea4afa35a8284 [^] Fixes ISSUE-45437: BaseOBObject appends parameters in hql query wrongly Method getTranslations appends some parameters in an HQL query strings directly, this is incorrect as per our HQL style guide. To avoid this, it has been transformed to use OBCriteria instead. --- M src/org/openbravo/base/structure/BaseOBObject.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2020-11-12 16:01 | cberner | New Issue | |
2020-11-12 16:01 | cberner | Assigned To | => cberner |
2020-11-12 16:01 | cberner | Modules | => Core |
2020-11-12 16:01 | cberner | Triggers an Emergency Pack | => No |
2020-11-12 16:01 | cberner | Relationship added | related to 0038136 |
2020-11-12 16:04 | hgbot | Note Added: 0124330 | |
2020-11-24 13:14 | hgbot | Resolution | open => fixed |
2020-11-24 13:14 | hgbot | Status | new => closed |
2020-11-24 13:14 | hgbot | Note Added: 0124584 | |
2020-11-24 13:14 | hgbot | Fixed in Version | => PR21Q1 |
2020-11-24 13:14 | hgbot | Note Added: 0124585 |
Copyright © 2000 - 2009 MantisBT Group |