Openbravo Issue Tracking System - Retail Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0038133 | Retail Modules | Web POS | public | 2018-03-14 11:56 | 2018-03-19 09:36 | ||||||||
Reporter | shuehner | ||||||||||||
Assigned To | Sandrahuguet | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | RR18Q2 | |||||||||||
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 | 0038133: AddPack.java has query which is not using bind-parameters | ||||||||||||
Description | That query is not using bind-parameters but embedding data values directly into SQL text: final OBQuery<OrderLine> qSamePackLines = OBDal .getInstance() .createQuery( OrderLine.class, " as e where e.salesOrder='" + order.getId() + "' and exists(select 1 from OrderLineOffer offer where e = offer.salesOrderLine and offer.priceAdjustment.id = '" + pack.getId() + "')"); | ||||||||||||
Steps To Reproduce | - | ||||||||||||
Proposed Solution | Use bind-parameters as usual. | ||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2018-03-14 11:56 | shuehner | New Issue | |||||||||||
2018-03-14 11:56 | shuehner | Assigned To | => Retail | ||||||||||
2018-03-14 11:56 | shuehner | Triggers an Emergency Pack | => No | ||||||||||
2018-03-14 13:03 | shuehner | Relationship added | blocks 0038136 | ||||||||||
2018-03-14 16:35 | shuehner | Assigned To | Retail => Sandrahuguet | ||||||||||
2018-03-14 17:25 | Sandrahuguet | Status | new => scheduled | ||||||||||
2018-03-16 08:19 | hgbot | Checkin | |||||||||||
2018-03-16 08:19 | hgbot | Note Added: 0103295 | |||||||||||
2018-03-16 08:19 | hgbot | Status | scheduled => resolved | ||||||||||
2018-03-16 08:19 | hgbot | Resolution | open => fixed | ||||||||||
2018-03-16 08:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/59ad14d4c841788b7bbe681e3750fcbbfe04b63d [^] | ||||||||||
2018-03-16 08:28 | Sandrahuguet | Review Assigned To | => marvintm | ||||||||||
2018-03-19 09:36 | marvintm | Status | resolved => closed | ||||||||||
2018-03-19 09:36 | marvintm | Fixed in Version | => RR18Q2 |
Notes | |||||
|
|||||
|
|