Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040776 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | minor | have not tried | 2019-04-10 12:35 | 2019-05-10 08:37 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | Triage Omni OMS | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR19Q1.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4158c90d38b2 | ||||
Projection | none | ETA | none | Target Version | 3.0PR19Q1.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | Sandrahuguet | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040776: ResetAccounting.hasProcessing is not using bind-parameters | |||||||
Description | This code is not using bind-params: String hql = " select count(*) from ADColumn where table.id = '" + strTableId + "' " + " and lower(dBColumnName) = 'processing'"; Query<Long> query = OBDal.getInstance().getSession().createQuery(hql, Long.class); | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0111609) hgbot (developer) 2019-05-10 08:34 |
Repository: erp/backports/3.0PR19Q1.2 Changeset: 4158c90d38b2d39f0de6ffd715075c3cf7c0fb4d Author: Nono Carballo <nonofce <at> gmail.com> Date: Mon Apr 22 16:23:50 2019 -0400 URL: http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/4158c90d38b2d39f0de6ffd715075c3cf7c0fb4d [^] Fixes issue 40776: Uses bind parameters in query Instead of using string concatenation in query, bind parameters are used. --- M src/org/openbravo/financial/ResetAccounting.java --- |
(0111611) Sandrahuguet (developer) 2019-05-10 08:37 |
code review + testing ok |
Issue History | |||
Date Modified | Username | Field | Change |
2019-05-04 17:17 | nonofrancisco | Type | defect => backport |
2019-05-04 17:17 | nonofrancisco | Target Version | => 3.0PR19Q1.1 |
2019-05-06 08:30 | Sandrahuguet | Target Version | 3.0PR19Q1.1 => 3.0PR19Q1.2 |
2019-05-10 08:34 | hgbot | Checkin | |
2019-05-10 08:34 | hgbot | Note Added: 0111609 | |
2019-05-10 08:34 | hgbot | Status | scheduled => resolved |
2019-05-10 08:34 | hgbot | Resolution | open => fixed |
2019-05-10 08:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/4158c90d38b2d39f0de6ffd715075c3cf7c0fb4d [^] |
2019-05-10 08:37 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-05-10 08:37 | Sandrahuguet | Note Added: 0111611 | |
2019-05-10 08:37 | Sandrahuguet | Status | resolved => closed |
2019-05-10 08:37 | Sandrahuguet | Fixed in Version | => 3.0PR19Q1.2 |
Copyright © 2000 - 2009 MantisBT Group |