Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0040715 | Retail Modules | Web POS | public | 2019-04-10 12:47 | 2019-05-02 08:31 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR19Q1.1 | Fixed in Version | RR19Q1.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0040715: POSUtils.getPriceListVersionForPriceList is not using bind-parameters | |||||||||||
Description | This code is not using bind-params: Query<PriceListVersion> priceListVersionQuery = OBDal.getInstance() .getSession() .createQuery("from PricingPriceListVersion AS plv " + "where plv.priceList.id ='" + priceListId + "' and plv.active=true and plv.validFromDate = (select max(pplv.validFromDate) " + "from PricingPriceListVersion as pplv where pplv.active=true and pplv.priceList.id = '" + priceListId + "' and to_char(pplv.validFromDate,'yyyy-mm-dd') <= '" + format.format(terminalDate) + "' )", PriceListVersion.class); for (PriceListVersion plv : priceListVersionQuery.list()) { return plv; } | |||||||||||
Steps To Reproduce | - | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-04-30 11:53 | shuehner | Type | defect => backport | |||||||||
2019-04-30 11:53 | shuehner | Target Version | => RR19Q1.1 | |||||||||
2019-05-02 08:22 | hgbot | Checkin | ||||||||||
2019-05-02 08:22 | hgbot | Note Added: 0111415 | ||||||||||
2019-05-02 08:22 | hgbot | Status | scheduled => resolved | |||||||||
2019-05-02 08:22 | hgbot | Resolution | open => fixed | |||||||||
2019-05-02 08:22 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c82334b59fdf53cb9b49284e8ff3a939c5c46d03 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.retail.posterminal/rev/65923c70002a2a6b09b23c19758e6cd73640fa84 [^] | |||||||||
2019-05-02 08:31 | marvintm | Review Assigned To | adrianromero => marvintm | |||||||||
2019-05-02 08:31 | marvintm | Status | resolved => closed | |||||||||
2019-05-02 08:31 | marvintm | Fixed in Version | => RR19Q1.1 |
Notes | |||||
|
|||||
|
|