Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0041232 | Openbravo ERP | 09. Financial management | public | 2019-07-02 15:43 | 2019-08-22 14:44 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | collazoandy4 | ||||||||||||||||||
Priority | normal | Severity | minor | 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 | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0041232: AdvPaymentMngtDao is not using bind-params | ||||||||||||||||||
Description | This code is not using bind-params: public List<FIN_PaymentScheduleDetail> getInvoicePendingScheduledPaymentDetails(Invoice invoice) { whereClause.append(" as psd "); whereClause.append(" where psd."); whereClause.append(FIN_PaymentScheduleDetail.PROPERTY_PAYMENTDETAILS); whereClause.append(" is null"); whereClause.append(" and psd."); whereClause.append(FIN_PaymentScheduleDetail.PROPERTY_INVOICEPAYMENTSCHEDULE); whereClause.append("."); whereClause.append(FIN_PaymentSchedule.PROPERTY_INVOICE); whereClause.append(".id = '"); whereClause.append(invoice.getId()); whereClause.append("'"); whereClause.append(" order by psd."); whereClause.append(FIN_PaymentScheduleDetail.PROPERTY_INVOICEPAYMENTSCHEDULE); whereClause.append("."); whereClause.append(FIN_PaymentSchedule.PROPERTY_EXPECTEDDATE); whereClause.append(", psd."); whereClause.append(FIN_PaymentScheduleDetail.PROPERTY_AMOUNT); | ||||||||||||||||||
Steps To Reproduce | - | ||||||||||||||||||
Proposed Solution | When fixing please fix all 6 HQL StringBuilder/Buffer to be new style (constant string) | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2019-07-02 15:43 | shuehner | New Issue | |||||||||||||||||
2019-07-02 15:43 | shuehner | Assigned To | => Triage Finance | ||||||||||||||||
2019-07-02 15:43 | shuehner | Modules | => Core | ||||||||||||||||
2019-07-02 15:43 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||
2019-07-02 15:43 | shuehner | Relationship added | blocks 0038136 | ||||||||||||||||
2019-07-04 12:14 | shuehner | Target Version | => 3.0PR19Q4 | ||||||||||||||||
2019-07-17 06:37 | collazoandy4 | Assigned To | Triage Finance => collazoandy4 | ||||||||||||||||
2019-07-17 06:41 | collazoandy4 | Status | new => scheduled | ||||||||||||||||
2019-07-18 06:40 | collazoandy4 | Note Added: 0113489 | |||||||||||||||||
2019-07-18 17:16 | dmiguelez | Note Edited: 0113489 | bug_revision_view_page.php?bugnote_id=0113489#r19154 | ||||||||||||||||
2019-07-18 17:16 | dmiguelez | Note Edited: 0113489 | bug_revision_view_page.php?bugnote_id=0113489#r19155 | ||||||||||||||||
2019-07-18 17:20 | hgbot | Checkin | |||||||||||||||||
2019-07-18 17:20 | hgbot | Note Added: 0113532 | |||||||||||||||||
2019-07-18 17:20 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2019-07-18 17:20 | hgbot | Resolution | open => fixed | ||||||||||||||||
2019-07-18 17:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5ff225ecb09813ede2230a34369dfbada89823ca [^] | ||||||||||||||||
2019-07-18 17:21 | dmiguelez | Review Assigned To | => dmiguelez | ||||||||||||||||
2019-07-18 17:21 | dmiguelez | Note Added: 0113533 | |||||||||||||||||
2019-07-18 17:21 | dmiguelez | Status | resolved => closed | ||||||||||||||||
2019-07-18 17:21 | dmiguelez | Fixed in Version | => 3.0PR19Q4 | ||||||||||||||||
2019-07-22 22:09 | collazoandy4 | Relationship added | related to 0041425 | ||||||||||||||||
2019-08-22 14:44 | hudsonbot | Checkin | |||||||||||||||||
2019-08-22 14:44 | hudsonbot | Note Added: 0114163 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|