Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040591 | Openbravo ERP | A. Platform | public | 2019-04-11 09:42 | 2019-05-21 15:16 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | trivial | 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 | caristu |
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 | 0040591: deprecate OBDal getReadableClientsInClause and getReadableOrganizationsInClause |
Description | There are two methods in OBDAl, getReadableClientsInClause and getReadableOrganizationsInClause, that are intended to be used in SQL/HQL where clauses generated by string concatenation rather than using bind parameters.
These two methods should be deprecated and its users moved to bind-paramters. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | defect | 0040580 | | closed | alostale | Openbravo ERP | AlertActionHandler.countActiveAlerts is not using bind-parameters | depends on | defect | 0039879 | | closed | rqueralta | Retail Modules | ExternalOrderLoader should search entities based on POS Terminal Org instead of user readable orgs | blocks | design defect | 0038136 | | acknowledged | Triage Platform Base | Openbravo ERP | 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-11 09:42 | alostale | New Issue | |
2019-04-11 09:42 | alostale | Assigned To | => platform |
2019-04-11 09:42 | alostale | Modules | => Core |
2019-04-11 09:42 | alostale | Triggers an Emergency Pack | => No |
2019-04-11 09:43 | alostale | Relationship added | depends on 0040580 |
2019-04-11 09:43 | alostale | Relationship added | depends on 0039879 |
2019-04-11 09:45 | alostale | Relationship added | blocks 0038136 |
2019-04-11 10:12 | alostale | Assigned To | platform => alostale |
2019-04-11 10:13 | alostale | Review Assigned To | => caristu |
2019-04-11 10:33 | hgbot | Checkin | |
2019-04-11 10:33 | hgbot | Note Added: 0111078 | |
2019-04-11 10:33 | hgbot | Checkin | |
2019-04-11 10:33 | hgbot | Note Added: 0111079 | |
2019-04-11 10:33 | hgbot | Status | new => resolved |
2019-04-11 10:33 | hgbot | Resolution | open => fixed |
2019-04-11 10:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/17fff2db996a83b371093b60f81e14f9c87f106e [^] |
2019-04-11 10:34 | alostale | Summary | deprecate OBDAl getReadableClientsInClause and getReadableOrganizationsInClause => deprecate OBDal getReadableClientsInClause and getReadableOrganizationsInClause |
2019-04-11 11:32 | hgbot | Checkin | |
2019-04-11 11:32 | hgbot | Note Added: 0111080 | |
2019-04-12 08:19 | caristu | Note Added: 0111092 | |
2019-04-12 08:19 | caristu | Status | resolved => closed |
2019-04-12 08:19 | caristu | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111970 | |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111971 | |
Notes |
|
(0111078)
|
hgbot
|
2019-04-11 10:33
|
|
|
|
(0111079)
|
hgbot
|
2019-04-11 10:33
|
|
Repository: erp/devel/pi
Changeset: 17fff2db996a83b371093b60f81e14f9c87f106e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 11 10:28:24 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/17fff2db996a83b371093b60f81e14f9c87f106e [^]
fixed issue 40591: deprecate OBDal methods to compose sql in clauses
Bind parameters should be used instead.
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
M src-test/src/org/openbravo/test/dal/DalComplexQueryTestOrderLine.java
M src-test/src/org/openbravo/test/dal/DalPerformanceExampleTest.java
M src/org/openbravo/dal/service/OBDal.java
---
|
|
|
(0111080)
|
hgbot
|
2019-04-11 11:32
|
|
|
|
|
|
|
|
|
|
|
|