Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022085 | Openbravo ERP | A. Platform | public | 2012-10-24 10:38 | 2012-11-06 10:47 |
|
Reporter | ioritzCia | |
Assigned To | ioritzCia | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Ubuntu 10.04 |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP17 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | Google Chrome, Mozilla Firefox |
Modules | User Interface Selector |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0022085: Error when creating an hql query selector for organization. |
Description | There is an error in parseOptionalFilters method of CustomQuerySelectorDatasource.java file.This method around line 176 tries to filter by organizations, for this, it appends '.organization in (...)' to the alias of the query. If the entity of the query is organization this fails because there is no organization.organization field. |
Steps To Reproduce | - Create an hql selector for organizations. You can follow these steps: http://wiki.openbravo.com/wiki/Selector_Example [^] instead for Business Partner create it for organization. Create it with @additional_filters@ parameter (explained in the wiki document).
- Instead of using search parent reference use OBUISEL_Selector Reference one.
- You can define the selector in an org field. For this you have to change the reference of the field to OBUISEL_Selector Reference and the reference search key to the created selector.
- See that when accessing the tab, it fails because it tries to execute organization.organization. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0036863 | | closed | caristu | Custom Query Organization selectors information changes depending on the selected organization |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-10-24 10:38 | ioritzCia | New Issue | |
2012-10-24 10:38 | ioritzCia | Assigned To | => ioritzCia |
2012-10-24 10:38 | ioritzCia | Web browser | => Google Chrome, Mozilla Firefox |
2012-10-24 10:38 | ioritzCia | Modules | => User Interface Selector |
2012-11-02 08:48 | hgbot | Checkin | |
2012-11-02 08:48 | hgbot | Note Added: 0053966 | |
2012-11-02 08:48 | hgbot | Status | new => resolved |
2012-11-02 08:48 | hgbot | Resolution | open => fixed |
2012-11-02 08:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b5e2d6ab7ce48f9975130c601b38bf009408eed1 [^] |
2012-11-05 16:53 | AugustoMauch | Review Assigned To | => AugustoMauch |
2012-11-05 16:53 | AugustoMauch | Note Added: 0053997 | |
2012-11-05 16:53 | AugustoMauch | Status | resolved => closed |
2012-11-05 16:53 | AugustoMauch | Fixed in Version | => 3.0MP17 |
2012-11-06 10:47 | hudsonbot | Checkin | |
2012-11-06 10:47 | hudsonbot | Note Added: 0054029 | |
2017-09-18 18:59 | caristu | Relationship added | related to 0036863 |