Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041242 | Openbravo ERP | 09. Financial management | public | 2019-07-02 16:23 | 2019-08-22 14:45 |
|
Reporter | shuehner | |
Assigned To | collazoandy4 | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR19Q4 | Fixed in Version | 3.0PR19Q4 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0041242: DocFINBankStatement.createFact is not using bind-params |
Description | The following code is not using bind-params:
whereClause.append(
" where astdt.acctschemaTable.accountingSchema.id = '" + as.m_C_AcctSchema_ID + "'");
whereClause.append(" and astdt.acctschemaTable.table.id = '" + AD_Table_ID + "'");
whereClause.append(" and astdt.documentCategory = '" + DocumentType + "'");
and
whereClause2.append(" as ast ");
whereClause2.append(" where ast.accountingSchema.id = '" + as.m_C_AcctSchema_ID + "'");
whereClause2.append(" and ast.table.id = '" + AD_Table_ID + "'");
When fixing please apply new HQL style to all HQL in the file.
|
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0041419 | | closed | collazoandy4 | Apply HQL style guide to DocFINBankStatement | blocks | design defect | 0038136 | | acknowledged | Triage Platform Base | Tracking issue: Find & Fix queries not using bind-params but embedding values into query string |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-07-02 16:23 | shuehner | New Issue | |
2019-07-02 16:23 | shuehner | Assigned To | => Triage Finance |
2019-07-02 16:23 | shuehner | Modules | => Core |
2019-07-02 16:23 | shuehner | Triggers an Emergency Pack | => No |
2019-07-02 16:23 | shuehner | Relationship added | blocks 0038136 |
2019-07-04 12:15 | shuehner | Target Version | => 3.0PR19Q4 |
2019-07-22 17:57 | collazoandy4 | Assigned To | Triage Finance => collazoandy4 |
2019-07-22 17:58 | collazoandy4 | Status | new => scheduled |
2019-07-23 00:00 | collazoandy4 | Note Added: 0113583 | |
2019-08-13 09:46 | Sandrahuguet | Relationship added | related to 0041419 |
2019-08-13 10:02 | hgbot | Checkin | |
2019-08-13 10:02 | hgbot | Note Added: 0113959 | |
2019-08-13 10:02 | hgbot | Status | scheduled => resolved |
2019-08-13 10:02 | hgbot | Resolution | open => fixed |
2019-08-13 10:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/057aaf20b2931ef5c05ce63bc1b1144031dbacda [^] |
2019-08-13 10:21 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-08-13 10:21 | Sandrahuguet | Note Added: 0113960 | |
2019-08-13 10:21 | Sandrahuguet | Status | resolved => closed |
2019-08-13 10:21 | Sandrahuguet | Fixed in Version | => 3.0PR19Q4 |
2019-08-22 14:45 | hudsonbot | Checkin | |
2019-08-22 14:45 | hudsonbot | Note Added: 0114221 | |
Notes |
|
(0113583)
|
collazoandy4
|
2019-07-23 00:00
|
|
Test Plan
Go to Financial Account and select Cuenta de Banco record
In Account Configuration tab check Enable Bank Statement and fillout all the fields with valid values
Go to Imported Bank Statement tab and create a new record, process and post it
Check the process ends without error |
|
|
(0113959)
|
hgbot
|
2019-08-13 10:02
|
|
Repository: erp/devel/pi
Changeset: 057aaf20b2931ef5c05ce63bc1b1144031dbacda
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Jul 22 17:04:40 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/057aaf20b2931ef5c05ce63bc1b1144031dbacda [^]
Fixes issue 41242: DocFINBankStatement.createFact is not using bind-params
Added missing bind-params
---
M src/org/openbravo/erpCommon/ad_forms/DocFINBankStatement.java
---
|
|
|
|
|
|
|
|