Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0040564 | Openbravo ERP | A. Platform | public | 2019-04-09 21:04 | 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 | 0040564: MyOpenbravoActionHandler.processWidgets is not using bind-variables |
| Description | This code is not using bind-params:
// Remove all instances of the widget instance that is to be removed
OBQuery<WidgetInstance> widgetInstanceQuery = OBDal.getInstance()
.createQuery(WidgetInstance.class, "copiedFrom='" + widgetInstance.getId() + "'"); |
| Steps To Reproduce | - |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | blocks | design defect | 0038136 | | acknowledged | Triage Platform Base | Tracking issue: Find & Fix queries not using bind-params but embedding values into query string |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2019-04-09 21:04 | shuehner | New Issue | |
| 2019-04-09 21:04 | shuehner | Assigned To | => platform |
| 2019-04-09 21:04 | shuehner | OBNetwork customer | => No |
| 2019-04-09 21:04 | shuehner | Modules | => Core |
| 2019-04-09 21:04 | shuehner | Triggers an Emergency Pack | => No |
| 2019-04-09 21:05 | 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: 0111074 | |
| 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/eed3ff80f38875b145f257910800d4c0142bc9f2 [^] |
| 2019-04-12 08:25 | caristu | Note Added: 0111094 | |
| 2019-04-12 08:25 | caristu | Status | resolved => closed |
| 2019-04-12 08:25 | caristu | Fixed in Version | => 3.0PR19Q3 |
| 2019-04-12 09:56 | hgbot | Checkin | |
| 2019-04-12 09:56 | hgbot | Note Added: 0111107 | |
| 2019-04-12 10:12 | hgbot | Checkin | |
| 2019-04-12 10:12 | hgbot | Note Added: 0111108 | |
| 2019-05-21 15:16 | hudsonbot | Checkin | |
| 2019-05-21 15:16 | hudsonbot | Note Added: 0111968 | |
| 2019-05-21 15:16 | hudsonbot | Checkin | |
| 2019-05-21 15:16 | hudsonbot | Note Added: 0111974 | |
| 2019-05-21 15:16 | hudsonbot | Checkin | |
| 2019-05-21 15:16 | hudsonbot | Note Added: 0111975 | |
|
Notes |
|
|
(0111074)
|
|
hgbot
|
|
2019-04-11 08:44
|
|
Repository: erp/devel/pi
Changeset: eed3ff80f38875b145f257910800d4c0142bc9f2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 11 08:34:29 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eed3ff80f38875b145f257910800d4c0142bc9f2 [^]
fixed issue 40564: MyOpenbravoActionHandler.processWidgets is not using bind-variables
---
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoActionHandler.java
---
|
|
|
|
|
|
|
|
(0111107)
|
|
hgbot
|
|
2019-04-12 09:56
|
|
|
|
|
(0111108)
|
|
hgbot
|
|
2019-04-12 10:12
|
|
Repository: erp/devel/pi
Changeset: f3ff80a1ad208a3b6b79efd515d69f67d4552c45
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Apr 12 10:11:29 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f3ff80a1ad208a3b6b79efd515d69f67d4552c45 [^]
related to issue 40564: minor code improvements
- Use isEmpty() to check whether the collection is empty or not
- Use diamond operator
- Removed useless assignment for "alertListToRemove"
- Immediately return the result instead of assigning it to the temporary "total" variable
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ADAlertDatasourceService.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|