Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0041250 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] 00. Application dictionary | major | have not tried | 2019-07-02 16:01 | 2019-07-09 11:05 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | platform | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 2ac60bd83810 | ||||
| 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 | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | jarmendariz | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0041250: ADTreeDatasourceService.{getNodeChildenQuery,nodeHasChildren, nodeConformsToWhereClause) are not using bind-params | |||||||
| Description | Those functions are not using bind-params. when fixing please apply new HQL-style to all 3 HQL's in the file | |||||||
| Steps To Reproduce | - | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | ||||||||
| 
 | ||||||||
|  Notes | |
| (0113232) hgbot (developer) 2019-07-09 09:28 | Repository: erp/backports/3.0PR19Q1.2 Changeset: c4c7da2b74c57c79324c50a649b582c5e0299619 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Jul 09 09:14:41 2019 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/c4c7da2b74c57c79324c50a649b582c5e0299619 [^] related to issue 41250: HQL style in ADTreeDatasourceService Don't use StringBuilder for String concatenation Some other small changes --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java --- | 
| (0113233) hgbot (developer) 2019-07-09 09:28 | Repository: erp/backports/3.0PR19Q1.2 Changeset: 2ac60bd8381037f1acb71a3316da04f6a64d8a95 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Jul 09 09:27:47 2019 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/2ac60bd8381037f1acb71a3316da04f6a64d8a95 [^] fixed bug 41250: use bind parameters in ADTreeDatasourceService * Use parameter in query in getNodeChildrenQuery method where possible * Do not use deprecated OBDal.getReadableOrganizationsInClause method * Properly escape paremeter values in clasues coming from AD --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java --- | 
| (0113238) jarmendariz (viewer) 2019-07-09 11:05 | Reviewed | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
| 2019-07-03 15:26 | alostale | Type | defect => backport | 
| 2019-07-03 15:26 | alostale | Target Version | => 3.0PR19Q1.2 | 
| 2019-07-09 09:28 | hgbot | Checkin | |
| 2019-07-09 09:28 | hgbot | Note Added: 0113232 | |
| 2019-07-09 09:28 | hgbot | Checkin | |
| 2019-07-09 09:28 | hgbot | Note Added: 0113233 | |
| 2019-07-09 09:28 | hgbot | Status | scheduled => resolved | 
| 2019-07-09 09:28 | hgbot | Resolution | open => fixed | 
| 2019-07-09 09:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/2ac60bd8381037f1acb71a3316da04f6a64d8a95 [^] | 
| 2019-07-09 09:28 | alostale | Review Assigned To | caristu => jarmendariz | 
| 2019-07-09 11:05 | jarmendariz | Note Added: 0113238 | |
| 2019-07-09 11:05 | jarmendariz | Status | resolved => closed | 
| Copyright © 2000 - 2009 MantisBT Group |