Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040579 | Openbravo ERP | 09. Financial management | public | 2019-04-10 12:35 | 2019-05-21 15:17 |
|
Reporter | shuehner | |
Assigned To | Triage Omni OMS | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR19Q3 | |
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 | 0040579: 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 | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0040775 | 3.0PR19Q2 | closed | nonofrancisco | ResetAccounting.hasProcessing is not using bind-parameters | depends on | backport | 0040776 | 3.0PR19Q1.2 | closed | Triage Omni OMS | ResetAccounting.hasProcessing is not using bind-parameters | depends on | backport | 0040777 | 3.0PR18Q4.4 | closed | Triage Omni OMS | ResetAccounting.hasProcessing is not using bind-parameters | 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-04-10 12:35 | shuehner | New Issue | |
2019-04-10 12:35 | shuehner | Assigned To | => Triage Finance |
2019-04-10 12:35 | shuehner | Modules | => Core |
2019-04-10 12:35 | shuehner | Triggers an Emergency Pack | => No |
2019-04-10 12:36 | shuehner | Relationship added | blocks 0038136 |
2019-04-23 22:12 | nonofrancisco | Status | new => scheduled |
2019-05-04 17:16 | nonofrancisco | Status | scheduled => acknowledged |
2019-05-04 17:17 | nonofrancisco | Status | acknowledged => scheduled |
2019-05-04 17:27 | nonofrancisco | Note Added: 0111484 | |
2019-05-08 11:14 | hgbot | Checkin | |
2019-05-08 11:14 | hgbot | Note Added: 0111562 | |
2019-05-08 11:14 | hgbot | Status | scheduled => resolved |
2019-05-08 11:14 | hgbot | Resolution | open => fixed |
2019-05-08 11:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e98fa7d50bdbacb0ce7adc52d97b4f4e56fd1e93 [^] |
2019-05-08 11:35 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-05-08 11:35 | Sandrahuguet | Note Added: 0111565 | |
2019-05-08 11:35 | Sandrahuguet | Status | resolved => closed |
2019-05-08 11:35 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:17 | hudsonbot | Checkin | |
2019-05-21 15:17 | hudsonbot | Note Added: 0112018 | |
Notes |
|
|
Test Plan
Logged as F&B International Group Admin
Open Sales Invoice window
Create a new Sales invoice with a line of product
Complete the document
Post the document
Unpost the document deleting accounting entries
Verify the process completes successfully |
|
|
(0111562)
|
hgbot
|
2019-05-08 11:14
|
|
Repository: erp/devel/pi
Changeset: e98fa7d50bdbacb0ce7adc52d97b4f4e56fd1e93
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Mon Apr 22 16:23:50 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/e98fa7d50bdbacb0ce7adc52d97b4f4e56fd1e93 [^]
Fixes issue 40579: Uses bind parameters in query
Instead of using string concatenation in query, bind parameters are used.
---
M src/org/openbravo/financial/ResetAccounting.java
---
|
|
|
|
|
|
|
|