Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032505
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2016-03-18 11:572022-02-01 08:09
ReporterNaroaIriarteView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032505: The hql which is defined in datasources that are used by selectors is never taken into account

DescriptionWhen 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 SolutionCreate the logic to get the where clause from the datasource in the SelectorDataSourceFilter class.
TagsNo tags attached.
Attached Filesdiff file icon patchToReproduceIssue.diff [^] (16,162 bytes) 2016-03-18 11:57 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker