Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024012 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | critical | have not tried | 2013-06-06 14:44 | 2013-06-20 02:07 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0MP25 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 581ac6b95048 | ||||
Projection | none | ETA | none | Target Version | ||||
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 | Production - Confirmed Stable | |||||||
Regression date | 2013-03-05 | |||||||
Regression introduced in release | ||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/75cf7457df9c102c24bc8a1e51d67b7eae4cf2b4 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0024012: Problem with query list widgets with boolean columns | |||||||
Description | If a query list widget has a boolean column whose value is taken from a boolean database column a java.lang.ClassCastException exception is thrown | |||||||
Steps To Reproduce | - Create a query list column, use this hql: select active as myBoolean1, 'N' as myBoolean2 from Product where name = 'Lemonade' - Define two query YesNo parameters: myBoolean1 and myBoolean2 - Restart tomcat. - Log in again and add the new widget to the workspace. It will not show any records and a ClassCastException will be thrown in the server | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0059247) hgbot (developer) 2013-06-06 14:51 |
Repository: erp/devel/pi Changeset: 581ac6b950488ffb6c65d682f0e22a1f907adba6 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu Jun 06 14:51:21 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/581ac6b950488ffb6c65d682f0e22a1f907adba6 [^] Fixes issue 24012: Query list widgets with boolean parameters works Before trying to convert a 'Y' or 'N' string to boolean in this line [1], check that the value is a string, because sometimes at that point the value attribute can already be a boolean. [1] https://code.openbravo.com/erp/devel/pi/file/4cd557c40816/modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListDataSource.java#l221 [^] --- M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListDataSource.java --- |
(0059406) shankarb (viewer) 2013-06-13 08:44 |
Code reviewed and verified in pi changeset a148e16b1057 |
(0059546) hudsonbot (viewer) 2013-06-20 02:07 |
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/5caf871044ad [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-06-06 14:44 | AugustoMauch | New Issue | |
2013-06-06 14:44 | AugustoMauch | Assigned To | => AugustoMauch |
2013-06-06 14:44 | AugustoMauch | Modules | => Core |
2013-06-06 14:44 | AugustoMauch | OBNetwork customer | => No |
2013-06-06 14:44 | AugustoMauch | Triggers an Emergency Pack | => No |
2013-06-06 14:46 | AugustoMauch | Regression level | => Production - Confirmed Stable |
2013-06-06 14:46 | AugustoMauch | Regression date | => 2013-03-05 |
2013-06-06 14:46 | AugustoMauch | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/75cf7457df9c102c24bc8a1e51d67b7eae4cf2b4 [^] |
2013-06-06 14:47 | AugustoMauch | Steps to Reproduce Updated | View Revisions |
2013-06-06 14:48 | AugustoMauch | Relationship added | related to 0023200 |
2013-06-06 14:48 | AugustoMauch | Issue Monitored: shankarb | |
2013-06-06 14:49 | AugustoMauch | Review Assigned To | => shankarb |
2013-06-06 14:51 | hgbot | Checkin | |
2013-06-06 14:51 | hgbot | Note Added: 0059247 | |
2013-06-06 14:51 | hgbot | Status | new => resolved |
2013-06-06 14:51 | hgbot | Resolution | open => fixed |
2013-06-06 14:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/581ac6b950488ffb6c65d682f0e22a1f907adba6 [^] |
2013-06-13 08:44 | shankarb | Note Added: 0059406 | |
2013-06-13 08:44 | shankarb | Status | resolved => closed |
2013-06-13 08:44 | shankarb | Fixed in Version | => 3.0MP25 |
2013-06-20 02:07 | hudsonbot | Checkin | |
2013-06-20 02:07 | hudsonbot | Note Added: 0059546 |
Copyright © 2000 - 2009 MantisBT Group |