Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027591 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2014-09-11 18:55 | 2014-09-18 06:12 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 02a1e1a17c3b | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | shankarb | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027591: It is not possible to use Collection parameters in HQL tables | |||||||
Description | In the HQLDataSourceService.getQuery method, the named parameters are set to the Query. The problem was that only the query.setParameter method is used for this, and this method does not allow collection parameters. If the named parameter is a collection, query.setParameterList should be used. | |||||||
Steps To Reproduce | In this repo: https://code.openbravo.com/erp/devel/pi-reconref/ [^] - Open Sales Invoice - Pick a record with Total Outstanding > 0 - Open the Add Payment process. An exception will be thrown | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0070088) hgbot (developer) 2014-09-11 18:57 |
Repository: erp/devel/pi Changeset: 02a1e1a17c3bf16cec1d3c3c3524b126982636e6 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu Sep 11 18:56:37 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/02a1e1a17c3bf16cec1d3c3c3524b126982636e6 [^] Fixes issue 27591: It is not possible to use Collection params in HQL tables If the named parameter is a collection, query.setParameterList is used to add the parameter to the query. If not, query.setParameter is used. --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java --- |
(0070106) hudsonbot (viewer) 2014-09-12 16:39 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5c9f936cfa1d [^] Maturity status: Test |
(0070189) shankarb (viewer) 2014-09-18 06:12 |
Code reviewed and verified in pi changeset 04ae35aa72e5. |
![]() |
|||
Date Modified | Username | Field | Change |
2014-09-11 18:55 | AugustoMauch | New Issue | |
2014-09-11 18:55 | AugustoMauch | Assigned To | => AugustoMauch |
2014-09-11 18:55 | AugustoMauch | OBNetwork customer | => No |
2014-09-11 18:55 | AugustoMauch | Modules | => Core |
2014-09-11 18:55 | AugustoMauch | Triggers an Emergency Pack | => No |
2014-09-11 18:56 | AugustoMauch | Issue Monitored: shankarb | |
2014-09-11 18:56 | AugustoMauch | Review Assigned To | => shankarb |
2014-09-11 18:57 | hgbot | Checkin | |
2014-09-11 18:57 | hgbot | Note Added: 0070088 | |
2014-09-11 18:57 | hgbot | Status | new => resolved |
2014-09-11 18:57 | hgbot | Resolution | open => fixed |
2014-09-11 18:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/02a1e1a17c3bf16cec1d3c3c3524b126982636e6 [^] |
2014-09-12 16:39 | hudsonbot | Checkin | |
2014-09-12 16:39 | hudsonbot | Note Added: 0070106 | |
2014-09-18 06:12 | shankarb | Note Added: 0070189 | |
2014-09-18 06:12 | shankarb | Status | resolved => closed |
2014-09-18 06:12 | shankarb | Fixed in Version | => 3.0PR14Q4 |
2014-11-27 10:45 | AugustoMauch | Relationship added | has duplicate 0027578 |
Copyright © 2000 - 2009 MantisBT Group |