Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
| View Issue Details | ||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
| 0040580 | Openbravo ERP | A. Platform | public | 2019-04-10 12:38 | 2019-05-21 15:16 | |||||||||||||||||||||
| Reporter | shuehner | |||||||||||||||||||||||||
| Assigned To | alostale | |||||||||||||||||||||||||
| 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.0PR19Q3 | ||||||||||||||||||||||||
| Merge Request Status | ||||||||||||||||||||||||||
| Review Assigned To | caristu | |||||||||||||||||||||||||
| 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 | 0040580: AlertActionHandler.countActiveAlerts is not using bind-parameters | |||||||||||||||||||||||||
| Description | This code is not using bind-params: final String hql = "select distinct(e.alertRule)" + " from ADAlertRecipient" + " e where e.alertRule.active = true and (e.userContact.id= :userId " + " or (e.userContact.id = null and e.role.id = :roleId))" // select only those rules that are client/org visible from current role + " and e.alertRule.client.id " + OBDal.getInstance().getReadableClientsInClause() + " and e.alertRule.organization.id " + OBDal.getInstance().getReadableOrganizationsInClause(); Note: The 2 public OBDal utility methods invite doing that wrongly. Probably we should deprecate them and fix up all users (i.e. ExternalOrderLoader also) | |||||||||||||||||||||||||
| Steps To Reproduce | - | |||||||||||||||||||||||||
| Proposed Solution | ||||||||||||||||||||||||||
| Additional Information | ||||||||||||||||||||||||||
| Tags | No tags attached. | |||||||||||||||||||||||||
| Relationships |
| |||||||||||||||||||||||||
| Attached Files | ||||||||||||||||||||||||||
| Issue History | ||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | |||||||||||||||||||||||
| 2019-04-10 12:38 | shuehner | New Issue | ||||||||||||||||||||||||
| 2019-04-10 12:38 | shuehner | Assigned To | => platform | |||||||||||||||||||||||
| 2019-04-10 12:38 | shuehner | OBNetwork customer | => No | |||||||||||||||||||||||
| 2019-04-10 12:38 | shuehner | Modules | => Core | |||||||||||||||||||||||
| 2019-04-10 12:38 | shuehner | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
| 2019-04-10 12:38 | shuehner | Relationship added | blocks 0038136 | |||||||||||||||||||||||
| 2019-04-11 08:41 | alostale | Assigned To | platform => alostale | |||||||||||||||||||||||
| 2019-04-11 08:42 | alostale | Review Assigned To | => caristu | |||||||||||||||||||||||
| 2019-04-11 08:44 | hgbot | Checkin | ||||||||||||||||||||||||
| 2019-04-11 08:44 | hgbot | Note Added: 0111072 | ||||||||||||||||||||||||
| 2019-04-11 08:44 | hgbot | Status | new => resolved | |||||||||||||||||||||||
| 2019-04-11 08:44 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
| 2019-04-11 08:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4e9a59919638dbeb086e08446c1fe5cb2e6bf362 [^] | |||||||||||||||||||||||
| 2019-04-11 09:43 | alostale | Relationship added | blocks 0040591 | |||||||||||||||||||||||
| 2019-04-12 08:31 | caristu | Note Added: 0111096 | ||||||||||||||||||||||||
| 2019-04-12 08:32 | caristu | Status | resolved => closed | |||||||||||||||||||||||
| 2019-04-12 08:32 | caristu | Fixed in Version | => 3.0PR19Q3 | |||||||||||||||||||||||
| 2019-05-21 15:16 | hudsonbot | Checkin | ||||||||||||||||||||||||
| 2019-05-21 15:16 | hudsonbot | Note Added: 0111966 | ||||||||||||||||||||||||
| 2020-03-26 07:22 | alostale | Relationship added | causes 0043579 | |||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||