Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040559 | Openbravo ERP | 07. Sales management | public | 2019-04-09 20:29 | 2019-05-21 15:17 |
|
Reporter | shuehner | |
Assigned To | nonofrancisco | |
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 | 0040559: SL_TaxCategory_Org.execute is not using bind-parameters |
Description | This method is not using bind-parameters in lines 49 + 58
whereClause = "as tn where tn.node = '" + organization.getId() + "' and tn.client.id = '"
+ organization.getClient().getId() + "'";
OBQuery<TreeNode> query = OBDal.getInstance().createQuery(TreeNode.class, whereClause);
|
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0040772 | 3.0PR19Q2 | closed | nonofrancisco | SL_TaxCategory_Org.execute is not using bind-parameters | depends on | backport | 0040773 | 3.0PR19Q1.2 | closed | nonofrancisco | SL_TaxCategory_Org.execute is not using bind-parameters | depends on | backport | 0040774 | 3.0PR18Q4.4 | closed | nonofrancisco | SL_TaxCategory_Org.execute 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-09 20:29 | shuehner | New Issue | |
2019-04-09 20:29 | shuehner | Assigned To | => Triage Finance |
2019-04-09 20:29 | shuehner | Modules | => Core |
2019-04-09 20:29 | shuehner | Triggers an Emergency Pack | => No |
2019-04-09 20:30 | shuehner | Relationship added | blocks 0038136 |
2019-04-23 22:11 | nonofrancisco | Status | new => scheduled |
2019-05-03 11:53 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco |
2019-05-04 16:54 | nonofrancisco | Status | scheduled => acknowledged |
2019-05-04 16:55 | nonofrancisco | Status | acknowledged => scheduled |
2019-05-04 16:55 | nonofrancisco | Note Added: 0111483 | |
2019-05-04 17:27 | nonofrancisco | Note Edited: 0111483 | bug_revision_view_page.php?bugnote_id=0111483#r18706 |
2019-05-08 12:25 | hgbot | Checkin | |
2019-05-08 12:25 | hgbot | Note Added: 0111566 | |
2019-05-08 12:25 | hgbot | Status | scheduled => resolved |
2019-05-08 12:25 | hgbot | Resolution | open => fixed |
2019-05-08 12:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2eab22ee5862c243704b87445079ea184bd43341 [^] |
2019-05-08 12:47 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-05-08 12:47 | Sandrahuguet | Note Added: 0111573 | |
2019-05-08 12:47 | Sandrahuguet | Status | resolved => closed |
2019-05-08 12:47 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:17 | hudsonbot | Checkin | |
2019-05-21 15:17 | hudsonbot | Note Added: 0112019 | |
Notes |
|
(0111483)
|
nonofrancisco
|
2019-05-04 16:55
(edited on: 2019-05-04 17:27) |
|
Test Plan
Logged as F&B International Group Admin
Open Tax Category window
Create a new record
Organization: *
Default: true
Open Product window
Create a new record
Select organization F&B International Group
Verify Tax category selected is the previously created
|
|
|
(0111566)
|
hgbot
|
2019-05-08 12:25
|
|
Repository: erp/devel/pi
Changeset: 2eab22ee5862c243704b87445079ea184bd43341
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Mon Apr 22 15:04:05 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/2eab22ee5862c243704b87445079ea184bd43341 [^]
Fixes issue 40559: Uses bind parameters in query
Instead of using string concatenation in client and organization filters in
where clause, bind parameters are used
---
M src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java
---
|
|
|
|
|
|
|
|