Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041277Retail ModulesWeb POSpublic2019-07-04 12:272019-07-09 16:41
shuehner 
gorka_gil 
normalmajorhave not tried
closedfixed 
5
 
RR19Q1.2RR19Q1.2 
guilleaer
No
0041277: PaidReceipts.checkOrderInErrorEntry is not using bind-params
That function is not using bind-params in the orIds + jsoninfo contains construction here:
        orBuilder.append(" imp.jsonInfo like '%" + id + "%' ");

...

          + "and (" + orIds + ")";

When fixing please apply new HQL-style to every HQL in this file.
-
No tags attached.
blocks defect 0041274RR19Q4 closed gorka_gil PaidReceipts.checkOrderInErrorEntry is not using bind-params 
Issue History
2019-07-04 12:36shuehnerTypedefect => backport
2019-07-04 12:36shuehnerTarget VersionRR19Q4 => RR19Q1.2
2019-07-08 17:44gorka_gilAssigned ToRetail => gorka_gil
2019-07-09 14:27hgbotCheckin
2019-07-09 14:27hgbotNote Added: 0113245
2019-07-09 14:27hgbotStatusscheduled => resolved
2019-07-09 14:27hgbotResolutionopen => fixed
2019-07-09 14:27hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal/rev/3f6a95b64800cb6f7e39ead840968f969a879348 [^]
2019-07-09 16:41guilleaerReview Assigned To => guilleaer
2019-07-09 16:41guilleaerStatusresolved => closed
2019-07-09 16:41guilleaerFixed in Version => RR19Q1.2

Notes
(0113245)
hgbot   
2019-07-09 14:27   
Repository: retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal
Changeset: 3f6a95b64800cb6f7e39ead840968f969a879348
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Jul 08 14:57:21 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal/rev/3f6a95b64800cb6f7e39ead840968f969a879348 [^]

Fixes issue 41277: use bind-params in PaidReceipts.checkOrderInErrorEntry

Needed to create one parameter for each value of orderIds

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