Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0040832 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] 05. Production management | minor | have not tried | 2019-04-10 11:41 | 2019-06-05 15:54 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | nonofrancisco | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR19Q2.1 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 785a223ac67f | ||||
| Projection | none | ETA | none | Target Version | 3.0PR19Q2.1 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | Sandrahuguet | |||||||
| 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 | 0040832: SequenceProductCreate.getLineNum is not using bind-parameters | |||||||
| Description | This code is not using bind-params: String hql = " SELECT COALESCE(MAX(l.lineNo),0)+10 AS DefaultValue FROM ManufacturingOperationProduct l WHERE l.mASequence.id= '" + SequenceId + "'"; Query<Long> q = OBDal.getInstance().getSession().createQuery(hql, Long.class); | |||||||
| Steps To Reproduce | - | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0112426) hgbot (developer) 2019-06-05 15:53 |
Repository: erp/backports/3.0PR19Q2.1 Changeset: 785a223ac67f4cb4144410f9185f243831b4510c Author: Nono Carballo <nonofce <at> gmail.com> Date: Wed May 01 22:53:24 2019 -0400 URL: http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/785a223ac67f4cb4144410f9185f243831b4510c [^] Fixes issue 40832: Uses bind parameter. Instead of string concatenation, bind parameter is used to build the query. --- M src/org/openbravo/erpCommon/ad_actionButton/SequenceProductCreate.java --- |
|
(0112428) Sandrahuguet (viewer) 2019-06-05 15:54 |
code review + testing ok |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2019-05-09 23:25 | nonofrancisco | Type | defect => backport |
| 2019-05-09 23:25 | nonofrancisco | Target Version | => 3.0PR19Q2 |
| 2019-05-10 08:12 | Sandrahuguet | Target Version | 3.0PR19Q2 => 3.0PR19Q2.1 |
| 2019-06-05 15:53 | hgbot | Checkin | |
| 2019-06-05 15:53 | hgbot | Note Added: 0112426 | |
| 2019-06-05 15:53 | hgbot | Status | scheduled => resolved |
| 2019-06-05 15:53 | hgbot | Resolution | open => fixed |
| 2019-06-05 15:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/785a223ac67f4cb4144410f9185f243831b4510c [^] |
| 2019-06-05 15:54 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
| 2019-06-05 15:54 | Sandrahuguet | Note Added: 0112428 | |
| 2019-06-05 15:54 | Sandrahuguet | Status | resolved => closed |
| 2019-06-05 15:54 | Sandrahuguet | Fixed in Version | => 3.0PR19Q2.1 |
| Copyright © 2000 - 2009 MantisBT Group |