Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040572Retail ModulesWeb POSpublic2019-04-10 11:282019-05-24 12:51
shuehner 
ranjith_qualiantech_com 
normalminorhave not tried
closedfixed 
5
 
RR19Q3RR19Q3 
marvintm
No
0040572: LoginUtilsServlet.preLogin is not using bind-parameters
This code is not using bind-params:

        OBQuery<TerminalAccess> accessCrit = OBDal.getInstance()
            .createQuery(TerminalAccess.class, "where userContact.id='" + userId + "'");
-
No tags attached.
blocks design defect 0038136 acknowledged Triage Platform Base Openbravo ERP Tracking issue: Find & Fix queries not using bind-params but embedding values into query string 
Issue History
2019-04-10 11:28shuehnerNew Issue
2019-04-10 11:28shuehnerAssigned To => Retail
2019-04-10 11:28shuehnerTriggers an Emergency Pack => No
2019-04-10 11:28shuehnerRelationship addedblocks 0038136
2019-05-13 12:44shuehnerTarget Version => RR19Q3
2019-05-13 13:56ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-05-14 11:06ranjith_qualiantech_comStatusnew => scheduled
2019-05-16 10:02hgbotCheckin
2019-05-16 10:02hgbotNote Added: 0111706
2019-05-16 10:02hgbotStatusscheduled => resolved
2019-05-16 10:02hgbotResolutionopen => fixed
2019-05-16 10:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dda39b7861e1848be185af443bd02c61df521bcb [^]
2019-05-24 12:51marvintmReview Assigned To => marvintm
2019-05-24 12:51marvintmStatusresolved => closed
2019-05-24 12:51marvintmFixed in Version => RR19Q3

Notes
(0111706)
hgbot   
2019-05-16 10:02   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dda39b7861e1848be185af443bd02c61df521bcb
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 16 13:32:16 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dda39b7861e1848be185af443bd02c61df521bcb [^]

Fixed issue 40572 : LoginUtilsServlet.preLogin is not using bind-parameters

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
---