Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040194 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2019-02-14 11:06 | 2019-03-28 14:56 | |||
Reporter | JONHM | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 965c58c02c48 | ||||
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 | caristu | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040194: HQL based windows are not supporting BLOB images | |||||||
Description | HQL based windows are not supporting BLOB images. When an image is added to the query, an error is raised when opening the window: Error occured: freemarker.template.TemplateModelException: get(tabView) failed on instance of org.openbravo.client.application.window.StandardWindowComponent | |||||||
Steps To Reproduce | - Install attached module - Open 'Image Window' window, you will get an error * If the p.image is deleted from the HQL query (and also the related column and field), the window is correctly opened -> ERROR: ... Caused by: java.lang.ClassCastException: org.openbravo.base.model.domaintype.SearchDomainType cannot be cast to org.openbravo.base.model.domaintype.PrimitiveDomainType at org.openbravo.service.datasource.HQLDataSourceService.getDataSourceProperties(HQLDataSourceService.java:127) ~[classes/:?] at org.openbravo.service.datasource.DataSourceComponent.getDataSourceProperties(DataSourceComponent.java:80) ~[classes/:?] ... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0110023) hgbot (developer) 2019-02-22 10:34 |
Repository: erp/devel/pi Changeset: 965c58c02c48aa8ccd07512d850d88d508aa9127 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Feb 22 10:24:47 2019 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/965c58c02c48aa8ccd07512d850d88d508aa9127 [^] fixed issue 40194: HQL based windows don't support Image reference When a image reference column was included in a HQL window, ClassCastException was thrown trying to cast SearchDomainType to PrimitiveDomainType. This was caused by an incorrect assumption that all non primitive properties must extend ForeignKeyUIDefinition. Now if a propoerty is primitive is checked by looking its domain type. --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java --- |
(0110033) caristu (viewer) 2019-02-22 13:05 |
Reviewed + tested |
(0110833) hudsonbot (viewer) 2019-03-28 14:56 |
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/b2fbc1588df4 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2019-02-14 11:06 | JONHM | New Issue | |
2019-02-14 11:06 | JONHM | Assigned To | => platform |
2019-02-14 11:06 | JONHM | File Added: com.openbravo.addimage-1.0.0.obx | |
2019-02-14 11:06 | JONHM | OBNetwork customer | => OBPS |
2019-02-14 11:06 | JONHM | Modules | => Core |
2019-02-14 11:06 | JONHM | Resolution time | => 1520377200 |
2019-02-14 11:06 | JONHM | Triggers an Emergency Pack | => No |
2019-02-14 11:14 | JONHM | Description Updated | View Revisions |
2019-02-22 10:14 | alostale | Resolution time | 1520377200 => 1551913200 |
2019-02-22 10:14 | alostale | Assigned To | platform => alostale |
2019-02-22 10:14 | alostale | Review Assigned To | => caristu |
2019-02-22 10:26 | alostale | Steps to Reproduce Updated | View Revisions |
2019-02-22 10:34 | hgbot | Checkin | |
2019-02-22 10:34 | hgbot | Note Added: 0110023 | |
2019-02-22 10:34 | hgbot | Status | new => resolved |
2019-02-22 10:34 | hgbot | Resolution | open => fixed |
2019-02-22 10:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/965c58c02c48aa8ccd07512d850d88d508aa9127 [^] |
2019-02-22 13:05 | caristu | Note Added: 0110033 | |
2019-02-22 13:05 | caristu | Status | resolved => closed |
2019-02-22 13:05 | caristu | Fixed in Version | => 3.0PR19Q2 |
2019-03-28 14:56 | hudsonbot | Checkin | |
2019-03-28 14:56 | hudsonbot | Note Added: 0110833 |
Copyright © 2000 - 2009 MantisBT Group |