Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0029845 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
design defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-05-12 10:37 | 2015-07-06 13:04 | ||||||
Reporter | AugustoMauch | View Status | public | ||||||||
Assigned To | AugustoMauch | ||||||||||
Priority | high | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
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 | |||||||||||
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 | 0029845: OBQuery does not filter by readable organizations if the queried entity is Organization | ||||||||||
Description | If an OBQuery is used to retrieve the list of organizations, it will return organizations that are not readable by the role even if the filterOnReadableOrganizations attribute of the query is set to true. | ||||||||||
Steps To Reproduce | Consider the following code: OBQuery<Organization> obQuery = OBDal.getInstance().createQuery(Organization.class, ""); obQuery.setFilterOnReadableOrganization(true); List<Organization> organizations = obQuery.list(); The Query created to obtain the results is using this HQL FROM and WHERE clauses: from Organization where client.id in ('23C59575B9CF467C9620760EB255B389', '0') and active='Y' Note that the readable organization check is missing | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|
![]() |
|||
Date Modified | Username | Field | Change |
2015-05-12 10:37 | AugustoMauch | New Issue | |
2015-05-12 10:37 | AugustoMauch | Assigned To | => AugustoMauch |
2015-05-12 10:37 | AugustoMauch | OBNetwork customer | => No |
2015-05-12 10:37 | AugustoMauch | Modules | => Core |
2015-05-12 10:37 | AugustoMauch | Triggers an Emergency Pack | => No |
2015-07-06 13:04 | alostale | Status | new => acknowledged |
2015-07-06 13:04 | alostale | Type | defect => design defect |
Copyright © 2000 - 2009 MantisBT Group |