Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0029845 | Openbravo ERP | A. Platform | public | 2015-05-12 10:37 | 2015-07-06 13:04 |
Reporter | AugustoMauch | ||||
Assigned To | AugustoMauch | ||||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
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 | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
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 | 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 |
There are no notes attached to this issue. |