Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032449Retail ModulesWeb POSpublic2016-03-09 17:012016-07-20 14:42
eduardo_Argal 
mario_castello 
urgentmajoralways
closedfixed 
5
 
 
marvintm
No
0032449: ProcessHQLQuery does not support List parameters (Collections)
ProcessHQLQuery class does not support collection parameters.
Add a new parameter in a query which is a collection (for example and e.organization.id in :orgIds) and pass a collection as a parameter (overriding getParameterValues method in the created class).
When being executed the query does not throw any result as the parameter sent is not properly handled.
see attached patch
No tags attached.
diff ProcessHQLQuery.diff (1,131) 2016-03-09 17:01
https://issues.openbravo.com/file_download.php?file_id=9148&type=bug
Issue History
2016-03-09 17:01eduardo_ArgalNew Issue
2016-03-09 17:01eduardo_ArgalAssigned To => marvintm
2016-03-09 17:01eduardo_ArgalTriggers an Emergency Pack => No
2016-03-09 17:01eduardo_ArgalFile Added: ProcessHQLQuery.diff
2016-03-22 14:20mario_castelloAssigned Tomarvintm => Retail
2016-03-22 14:20mario_castelloStatusnew => acknowledged
2016-03-22 14:25mario_castelloAssigned ToRetail => mario_castello
2016-07-20 14:03hgbotCheckin
2016-07-20 14:03hgbotNote Added: 0088600
2016-07-20 14:03hgbotStatusacknowledged => resolved
2016-07-20 14:03hgbotResolutionopen => fixed
2016-07-20 14:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/38f4b33ae59e5da99be1b7f782a99be9a61985c0 [^]
2016-07-20 14:42marvintmReview Assigned To => marvintm
2016-07-20 14:42marvintmStatusresolved => closed

Notes
(0088600)
hgbot   
2016-07-20 14:03   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 38f4b33ae59e5da99be1b7f782a99be9a61985c0
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Wed Jul 20 14:02:53 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/38f4b33ae59e5da99be1b7f782a99be9a61985c0 [^]

Fixes issue 32449: ProcessHQLQuery does not support List Parameters (Collections)

---
M src/org/openbravo/mobile/core/process/ProcessHQLQuery.java
---