Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012202Openbravo ERPA. Platformpublic2010-02-10 12:332010-03-10 18:29
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
pi 
pi2.50MP12 
Core
No
0012202: OBQuery does not support list parameter
It is very useful to be able to use OBQuery with a list parameter. For example for hql such as:
from ADMessage where module in (:modules)

Currently an exception is thrown (java.util.List can not be cast to java.lang.String).
No tags attached.
Issue History
2010-02-10 12:33mtaalNew Issue
2010-02-10 12:33mtaalAssigned To => mtaal
2010-02-10 12:58hgbotCheckin
2010-02-10 12:58hgbotNote Added: 0024090
2010-02-10 12:58hgbotStatusnew => resolved
2010-02-10 12:58hgbotResolutionopen => fixed
2010-02-10 12:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fcdd0ba58ca16e41bc962f8709cd69569c169b2e [^]
2010-02-15 17:37hudsonbotCheckin
2010-02-15 17:37hudsonbotNote Added: 0024317
2010-02-16 21:51shuehnerNote Added: 0024444
2010-02-16 21:51shuehnerStatusresolved => closed
2010-02-16 21:51shuehnerFixed in Version => 2.50MP12
2010-02-17 00:01anonymoussf_bug_id0 =>
2010-03-10 18:29anonymoussf_bug_id => 2968042

Notes
(0024090)
hgbot   
2010-02-10 12:58   
Repository: erp/devel/pi
Changeset: fcdd0ba58ca16e41bc962f8709cd69569c169b2e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Feb 10 12:58:09 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fcdd0ba58ca16e41bc962f8709cd69569c169b2e [^]

Fixes issue 12202: OBQuery does not support list parameter

---
M src/org/openbravo/dal/service/OBQuery.java
---
(0024317)
hudsonbot   
2010-02-15 17:37   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/fcdd0ba58ca1 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]
(0024444)
shuehner   
2010-02-16 21:51   
tested via the added unit test for 12202 in issuesTest. working fine.