Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045513 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-11-25 18:16 | 2020-12-16 15:58 | |||
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 | 0045513: FIN_BankStatementImport class should use OBCriteria instead of string building | |||||||
Description | In method matchBusinessPartnerByNameTokens of this class, it uses OBQuery and requires extra steps of String formatting and String building, this should be changed to OBCriteria to avoid concatenating String parameters. | |||||||
Steps To Reproduce | In description. | |||||||
Proposed Solution | Change OBQuery usage in method matchBusinessPartnerByNameTokens to OBCriteria and refactor what is necessary. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0124622) hgbot (developer) 2020-11-25 18:36 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/246 [^] |
(0124627) hgbot (developer) 2020-11-25 18:42 |
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/246 [^] |
(0124886) hgbot (developer) 2020-12-16 15:58 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/246 [^] |
(0124887) hgbot (developer) 2020-12-16 15:58 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: b901921b99e266aceec3a45a2db03aa139a23bc5 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 2020-12-16T10:56:04+01:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b901921b99e266aceec3a45a2db03aa139a23bc5 [^] Fixes ISSUE-45513: FIN_BankStatementImport class should use OBCriteria This class should use OBCriteria instead of OBQuery + String building, this avoids concatenating String parameters. Query has been refactored to use OBCriteria and String building has been removed on this part, as it is no longer necessary. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2020-11-25 18:16 | cberner | New Issue | |
2020-11-25 18:16 | cberner | Assigned To | => cberner |
2020-11-25 18:16 | cberner | Modules | => Core |
2020-11-25 18:16 | cberner | Triggers an Emergency Pack | => No |
2020-11-25 18:17 | cberner | Relationship added | related to 0038136 |
2020-11-25 18:36 | hgbot | Note Added: 0124622 | |
2020-11-25 18:42 | hgbot | Note Added: 0124627 | |
2020-12-16 15:58 | hgbot | Resolution | open => fixed |
2020-12-16 15:58 | hgbot | Status | new => closed |
2020-12-16 15:58 | hgbot | Note Added: 0124886 | |
2020-12-16 15:58 | hgbot | Fixed in Version | => PR21Q1 |
2020-12-16 15:58 | hgbot | Note Added: 0124887 |
Copyright © 2000 - 2009 MantisBT Group |