Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0040833 | Openbravo ERP | 05. Production management | public | 2019-04-10 11:41 | 2019-06-05 15:54 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | nonofrancisco |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version | 3.0PR19Q1.2 | Fixed in Version | 3.0PR19Q1.2 |   | 
| 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 | 0040833: 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 | - | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | blocks  | defect  | 0040574 | 3.0PR19Q3  | closed  | nonofrancisco  | SequenceProductCreate.getLineNum is not using bind-parameters  |  
  | 
| Attached Files |  | 
  | 
| 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.0PR19Q1.2 | 
| 2019-06-05 15:26 | hgbot | Checkin |  | 
| 2019-06-05 15:26 | hgbot | Note Added: 0112425 |  | 
| 2019-06-05 15:26 | hgbot | Status | scheduled => resolved | 
| 2019-06-05 15:26 | hgbot | Resolution | open => fixed | 
| 2019-06-05 15:26 | hgbot | Fixed in SCM revision |  => http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/43a60afc9f2d5c2d83dce9c8b5c9f3ccae8094af [^] | 
| 2019-06-05 15:54 | Sandrahuguet | Review Assigned To |  => Sandrahuguet | 
| 2019-06-05 15:54 | Sandrahuguet | Note Added: 0112427 |  | 
| 2019-06-05 15:54 | Sandrahuguet | Status | resolved => closed | 
| 2019-06-05 15:54 | Sandrahuguet | Fixed in Version |  => 3.0PR19Q1.2 |