Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032505Openbravo ERPA. Platformpublic2016-03-18 11:572022-02-01 08:09
NaroaIriarte 
Triage Platform Base 
normalminoralways
newopen 
5
 
 
Core
No
0032505: The hql which is defined in datasources that are used by selectors is never taken into account
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.
- 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".
Create the logic to get the where clause from the datasource in the SelectorDataSourceFilter class.
No tags attached.
diff patchToReproduceIssue.diff (16,162) 2016-03-18 11:57
https://issues.openbravo.com/file_download.php?file_id=9182&type=bug
Issue History
2016-03-18 11:57NaroaIriarteNew Issue
2016-03-18 11:57NaroaIriarteAssigned To => platform
2016-03-18 11:57NaroaIriarteFile Added: patchToReproduceIssue.diff
2016-03-18 11:57NaroaIriarteModules => Core
2016-03-18 11:57NaroaIriarteTriggers an Emergency Pack => No
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.