Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0040569 | Retail Modules | Web POS | public | 2019-04-10 11:16 | 2019-05-24 13:25 | ||||||||||||||||
Reporter | shuehner | ||||||||||||||||||||
Assigned To | ranjith_qualiantech_com | ||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | RR19Q3 | Fixed in Version | RR19Q3 | ||||||||||||||||||
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 | 0040569: LabelsComponent.(getLabels+getLists) are not using bind-parameters | ||||||||||||||||||||
Description | Those 2 methods both are not using bind-params: String modules = getMobileAppDependantModuleIds(moduleId); JSONObject labels = new JSONObject(); String hqlLabel = "select message.searchKey, message.messageText "// + "from ADMessage message " // + "where module.id in " + modules; String hqlTrlLabels = "select trl.message.searchKey, trl.messageText from ADMessageTrl trl where trl.message.module.id in " + modules + " and trl.language.id='" + langId + "'"; and String hqlLists = "select list.reference.id, list.searchKey as id, coalesce(" + " (select trl.name from list.aDListTrlList trl where trl.language.id = '" + langId + "'), list.name) as name " + "from ADList list " // + "where list.reference.module.id in " + modules + " and list.module.id in " + modules + "order by list.reference.id, list.sequenceNumber"; Query<Object[]> qryLists = OBDal.getInstance() .getSession() .createQuery(hqlLists, Object[].class); | ||||||||||||||||||||
Steps To Reproduce | - | ||||||||||||||||||||
Proposed Solution | |||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2019-04-10 11:16 | shuehner | New Issue | |||||||||||||||||||
2019-04-10 11:16 | shuehner | Assigned To | => Retail | ||||||||||||||||||
2019-04-10 11:16 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||||
2019-04-10 11:17 | shuehner | Relationship added | blocks 0038136 | ||||||||||||||||||
2019-04-10 11:17 | shuehner | Relationship added | related to 0040568 | ||||||||||||||||||
2019-04-10 12:40 | shuehner | Description Updated | bug_revision_view_page.php?rev_id=18615#r18615 | ||||||||||||||||||
2019-05-13 12:44 | shuehner | Target Version | => RR19Q3 | ||||||||||||||||||
2019-05-13 13:56 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||||
2019-05-14 11:06 | ranjith_qualiantech_com | Status | new => scheduled | ||||||||||||||||||
2019-05-16 10:01 | hgbot | Checkin | |||||||||||||||||||
2019-05-16 10:01 | hgbot | Note Added: 0111704 | |||||||||||||||||||
2019-05-16 10:01 | hgbot | Status | scheduled => resolved | ||||||||||||||||||
2019-05-16 10:01 | hgbot | Resolution | open => fixed | ||||||||||||||||||
2019-05-16 10:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d335e8c085ec60d0b829cda329142473362ea1f [^] | ||||||||||||||||||
2019-05-24 13:25 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||||
2019-05-24 13:25 | marvintm | Status | resolved => closed | ||||||||||||||||||
2019-05-24 13:25 | marvintm | Fixed in Version | => RR19Q3 |
Notes | |||||
|
|||||
|
|