Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0038137 | Openbravo ERP | A. Platform | public | 2018-03-14 13:13 | 2018-03-16 09:00 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | shuehner | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | 3.0PR18Q2 | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | alostale | |||||||||||
| 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 | 0038137: EntityAccessChecker.initialize is not using bind-variables | |||||||||||
| Description | This code is not using bind-variables: final String tafQryStr = "select ta from " + TableAccess.class.getName() + " ta where role.id='" + getRoleId() + "'"; @SuppressWarnings("unchecked") final List<TableAccess> tas = SessionHandler.getInstance().createQuery(tafQryStr).list(); // and take into account explicit process access final String processAccessQryStr = "select p.obuiappProcess.id from " + ProcessAccess.class.getName() + " p where p.role.id='" + getRoleId() + "'"; | |||||||||||
| Steps To Reproduce | - | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | Performance | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2018-03-14 13:13 | shuehner | New Issue | ||||||||||
| 2018-03-14 13:13 | shuehner | Assigned To | => platform | |||||||||
| 2018-03-14 13:13 | shuehner | OBNetwork customer | => No | |||||||||
| 2018-03-14 13:13 | shuehner | Modules | => Core | |||||||||
| 2018-03-14 13:13 | shuehner | Triggers an Emergency Pack | => No | |||||||||
| 2018-03-14 13:13 | shuehner | Relationship added | blocks 0038136 | |||||||||
| 2018-03-14 16:46 | shuehner | Assigned To | platform => shuehner | |||||||||
| 2018-03-14 17:27 | shuehner | Description Updated | bug_revision_view_page.php?rev_id=16846#r16846 | |||||||||
| 2018-03-15 17:27 | hgbot | Checkin | ||||||||||
| 2018-03-15 17:27 | hgbot | Note Added: 0103287 | ||||||||||
| 2018-03-15 17:27 | hgbot | Status | new => resolved | |||||||||
| 2018-03-15 17:27 | hgbot | Resolution | open => fixed | |||||||||
| 2018-03-15 17:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/72f9f1727bc1613718fd11fc714294c7df86df88 [^] | |||||||||
| 2018-03-15 17:28 | shuehner | Review Assigned To | => alostale | |||||||||
| 2018-03-16 08:59 | alostale | Tag Attached: Performance | ||||||||||
| 2018-03-16 09:00 | alostale | Note Added: 0103303 | ||||||||||
| 2018-03-16 09:00 | alostale | Status | resolved => closed | |||||||||
| 2018-03-16 09:00 | alostale | Fixed in Version | => 3.0PR18Q2 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||