Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0045468 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | have not tried | 2020-11-20 04:42 | 2020-11-23 11:21 | |||||||
Reporter | lbressan | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0045468: Bug in the ProcessHQLQuery infrastructure. The system throws an error when there are more than one hqlQuery on a model. | |||||||||||
Description | The system throws an error on the following line of the ProcessHQLQuery class: for (int i = 0; i < queries.size(); i++) { if (limit == 0) { break; } String hqlQuery = queries.get(i); HQLPropertyList hqlProperty; if (properties != null) { hqlProperty = properties.get(i); } else { hqlProperty = null; } All are fine when you have only one query, but when the system is trying to execute a second query, the system crashes, because it is trying to get a property in position 1, and there was only one element in the properties list. | |||||||||||
Steps To Reproduce | On a model, in the method: @Override protected List<String> getQuery(JSONObject jsonsent) Add more than one query to the return. Login into the POS. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2020-11-20 04:42 | lbressan | New Issue | |
2020-11-20 04:42 | lbressan | Assigned To | => Retail |
2020-11-20 04:42 | lbressan | Triggers an Emergency Pack | => No |
2020-11-23 11:21 | marvintm | Project | POS2 => Retail Modules |
2020-11-23 11:21 | marvintm | Category | Core => Web POS |
Copyright © 2000 - 2009 MantisBT Group |