Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0032505 | Openbravo ERP | A. Platform | public | 2016-03-18 11:57 | 2022-02-01 08:09 |
| Reporter | NaroaIriarte | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| 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 | 0032505: The hql which is defined in datasources that are used by selectors is never taken into account | ||||
| Description | When a manual datasource with a hql where clause is created and a selector uses that manual datasource, the hql where clause defined in the manual datasource is never taken into account. | ||||
| Steps To Reproduce | - The attached patch contains a manual datasource which has a hql where clause. The hql where clause defined in the patch is "1=1) or 2=2" 1- Apply the attached patch. 2- As F&B Admin, go to "Sales Order" window. 3- Click on the selector "Business Partner", this is the selector that uses the manual datasource with the hql where clause. 4- Realize that in the Eclipse's console appears the following message: where_clause: null. This is wrong, there it should appear where_clause: "1=1) or 2=2". | ||||
| Proposed Solution | Create the logic to get the where clause from the datasource in the SelectorDataSourceFilter class. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=9182&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2016-03-18 11:57 | NaroaIriarte | New Issue | |||
| 2016-03-18 11:57 | NaroaIriarte | Assigned To | => platform | ||
| 2016-03-18 11:57 | NaroaIriarte | File Added: patchToReproduceIssue.diff | |||
| 2016-03-18 11:57 | NaroaIriarte | OBNetwork customer | => No | ||
| 2016-03-18 11:57 | NaroaIriarte | Modules | => Core | ||
| 2016-03-18 11:57 | NaroaIriarte | Triggers an Emergency Pack | => No | ||
| 2022-02-01 08:09 | alostale | Assigned To | platform => Triage Platform Base | ||
| There are no notes attached to this issue. |