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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040681
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminorhave not tried2019-04-04 13:272019-04-25 16:54
ReporteralostaleView Statuspublic 
Assigned Tononofrancisco 
PrioritynormalResolutionfixedFixed in Version3.0PR19Q2
StatusclosedFix in branchFixed in SCM revision514d009e7897
ProjectionnoneETAnoneTarget Version3.0PR19Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040681: use bind-parameters in FIN_BankStatementImport

DescriptionFIN_BankStatementImport.matchBusinessPartnerByNameTokens method is generating a sql setting parameters by String concatenation, replace tokens by bind parameters.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0040522 closednonofrancisco use bind-parameters in FIN_BankStatementImport 

-  Notes
(0111321)
hgbot (developer)
2019-04-25 16:36

Repository: erp/backports/3.0PR19Q2
Changeset: 514d009e78978d3124ec6e5fef2598e1e1d967f8
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Thu Apr 25 12:39:23 2019 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/514d009e78978d3124ec6e5fef2598e1e1d967f8 [^]

Fixes issue 40681: Prevents use of string concatenation in query

Query to get business partners was formed using string concatenation.
This fix replaces the string concatenation by bind parameters in query.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
---
(0111322)
hgbot (developer)
2019-04-25 16:36

Repository: erp/backports/3.0PR19Q2
Changeset: 6182a34d4e8dbd3110b8e4138964405d410cb9c4
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Apr 25 13:12:34 2019 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/6182a34d4e8dbd3110b8e4138964405d410cb9c4 [^]

related to issue 40681 code review changes

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
---
(0111325)
Sandrahuguet (developer)
2019-04-25 16:54

Code review + testing OK

- Issue History
Date Modified Username Field Change
2019-04-25 13:20 Sandrahuguet Type defect => backport
2019-04-25 13:20 Sandrahuguet Target Version => 3.0PR19Q2
2019-04-25 16:36 hgbot Checkin
2019-04-25 16:36 hgbot Note Added: 0111321
2019-04-25 16:36 hgbot Status scheduled => resolved
2019-04-25 16:36 hgbot Resolution open => fixed
2019-04-25 16:36 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a5d02171e10c523cfac9da2c54e6fb29ee292514 [^] => http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/514d009e78978d3124ec6e5fef2598e1e1d967f8 [^]
2019-04-25 16:36 hgbot Checkin
2019-04-25 16:36 hgbot Note Added: 0111322
2019-04-25 16:54 Sandrahuguet Review Assigned To => Sandrahuguet
2019-04-25 16:54 Sandrahuguet Note Added: 0111325
2019-04-25 16:54 Sandrahuguet Status resolved => closed
2019-04-25 16:54 Sandrahuguet Fixed in Version => 3.0PR19Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker