Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||||||||||||||||
| 0041199 | Openbravo ERP | 09. Financial management | public | 2019-06-27 18:09 | 2019-08-22 14:44 | ||||||||||||||||||||||||||||||||||||||||||
| Reporter | shuehner | ||||||||||||||||||||||||||||||||||||||||||||||
| Assigned To | collazoandy4 | ||||||||||||||||||||||||||||||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||||||||||||||||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||||||||||||||||||||
| Product Version | |||||||||||||||||||||||||||||||||||||||||||||||
| Target Version | 3.0PR19Q4 | Fixed in Version | 3.0PR19Q4 | ||||||||||||||||||||||||||||||||||||||||||||
| Merge Request Status | |||||||||||||||||||||||||||||||||||||||||||||||
| Review Assigned To | dmiguelez | ||||||||||||||||||||||||||||||||||||||||||||||
| 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 | 0041199: PaymentReportDao is not using bind-param | ||||||||||||||||||||||||||||||||||||||||||||||
| Description | Several cases in that file are not using bind-param both for simple values i.e. here: hsqlScript.append(" and fpsd."); hsqlScript.append(FIN_PaymentScheduleDetail.PROPERTY_ORGANIZATION); hsqlScript.append(".id = '"); hsqlScript.append(strOrg); hsqlScript.append("'"); as well as for list of values in in-clauses: hsqlScript.append(".id in ('"); Set<String> orgChildTree = OBContext.getOBContext() .getOrganizationStructureProvider() .getChildTree(strOrg, true); Iterator<String> orgChildTreeIter = orgChildTree.iterator(); while (orgChildTreeIter.hasNext()) { hsqlScript.append(orgChildTreeIter.next()); orgChildTreeIter.remove(); hsqlScript.append("'"); if (orgChildTreeIter.hasNext()) { hsqlScript.append(", '"); } } hsqlScript.append(")"); } Note: that setParameterList can be easily use to pass value lists directly see issue 40580 for an example | ||||||||||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce | - | ||||||||||||||||||||||||||||||||||||||||||||||
| Proposed Solution | |||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||||||||||||||||||||
| Attached Files | |||||||||||||||||||||||||||||||||||||||||||||||
| Issue History | |||||||||||||||||||||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:09 | shuehner | New Issue | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:09 | shuehner | Assigned To | => Triage Finance | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:09 | shuehner | OBNetwork customer | => No | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:09 | shuehner | Modules | => Core | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:09 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:10 | shuehner | Relationship added | blocks 0032688 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-06-27 18:12 | shuehner | Note Added: 0113074 | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-02 15:39 | shuehner | Relationship added | blocks 0038136 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-02 15:39 | shuehner | Relationship deleted | blocks 0032688 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-03 17:00 | shuehner | Status | new => scheduled | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-03 17:00 | shuehner | Target Version | => 3.0PR19Q4 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-04 17:48 | Sandrahuguet | Assigned To | Triage Finance => collazoandy4 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-09 17:14 | Sandrahuguet | Assigned To | collazoandy4 => AtulOpenbravo | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-09 17:47 | Sandrahuguet | Assigned To | AtulOpenbravo => collazoandy4 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-11 15:11 | Sandrahuguet | Relationship added | related to 0041302 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-12 06:34 | collazoandy4 | Note Added: 0113319 | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:39 | hgbot | Checkin | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:39 | hgbot | Note Added: 0113430 | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:39 | hgbot | Status | scheduled => resolved | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:39 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9352c35d828c9dcbc1e5e358b0e5cbd5c156e033 [^] | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:43 | dmiguelez | Review Assigned To | => dmiguelez | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:43 | dmiguelez | Note Added: 0113439 | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:43 | dmiguelez | Status | resolved => closed | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-16 16:43 | dmiguelez | Fixed in Version | => 3.0PR19Q4 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-07-22 22:13 | collazoandy4 | Relationship added | related to 0041423 | ||||||||||||||||||||||||||||||||||||||||||||
| 2019-08-22 14:44 | hudsonbot | Checkin | |||||||||||||||||||||||||||||||||||||||||||||
| 2019-08-22 14:44 | hudsonbot | Note Added: 0114151 | |||||||||||||||||||||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||