Project:
View Revisions: Issue #29846 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0029846: OBQuery does not filter by readable organizations/clients if the queried entity is Organization/Client respetively | ||
Revision | 2015-05-12 12:03 by AugustoMauch | ||
Steps To Reproduce | See attached test | ||
Revision | 2015-05-12 10:38 by AugustoMauch | ||
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 |
Copyright © 2000 - 2009 MantisBT Group |