Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041684 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | critical | have not tried | 2019-08-23 13:16 | 2019-11-12 16:13 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | f8c27555c37c | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | 0041684: Extra widget instances are created if permission to widget class is removed | |||||||
Description | If access is removed from a widget, when there are already existing widget instances for that widget, each time widgets are refreshed new widget instances will be created | |||||||
Steps To Reproduce | Count the number of widget instances in you development environment: select count(*) from obkmo_widget_instance As System Admin: - Open the Widget window, select the Welcome to Openbravo 3 widget - Uncheck its Enable for All Users flag, set its module in development if needed As F&B Admin: - Open the Role window, select the F&B International Group Admin - In the Widget Class Access subtab, remove the entry for the Welcome to Openbravo 3 widget Restart the server (list of available widget classes is cached) Log in with the F&B Admin role Check that each time the Refresh button in the Manage Workspace is clicked, the number of widget instances increases. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0114249) hgbot (developer) 2019-08-23 14:20 |
Repository: erp/devel/pi Changeset: e257d8e482d8931c581b379ff95c56ca050b8c9b Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Fri Aug 23 14:18:44 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e257d8e482d8931c581b379ff95c56ca050b8c9b [^] Fixes issue 41684: Extra widget instances are no longer created The process that automatically creates widget instances for default widgets was not taking into account if the user had access to the copied widget class. --- M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java --- |
(0114261) hudsonbot (viewer) 2019-08-25 06:50 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2915449dde15 [^] Maturity status: Test |
(0114334) caristu (viewer) 2019-08-29 14:57 |
Reopened due to minor code clean-up improvement: This if clause[1] does not longer apply, because the fix for the issue is already checking the same. [1] https://code.openbravo.com/erp/devel/pi/file/e257d8e482d8/modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java#l319 [^] |
(0114354) hgbot (developer) 2019-09-02 11:05 |
Repository: erp/devel/pi Changeset: f8c27555c37ca9951d4a7227b20d5daed06ddfc7 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Sep 02 11:04:38 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/f8c27555c37ca9951d4a7227b20d5daed06ddfc7 [^] Related with issue 41684: Removes unneeded if clause An if clause has been removed, it was not needed because an equivalent conditions is already being checked. Removed if clause: if (accessibleWidgetClasses.contains(copy.getWidgetClass().getId())) { Break statement: if (!accessibleWidgetClasses.contains(defaultWidget.getWidgetClass().getId())) { // do not copy a widget if its widget class is not accessible continue; } --- M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java --- |
(0114365) hudsonbot (viewer) 2019-09-02 16:01 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc549ccd3ceb [^] Maturity status: Test |
(0114366) caristu (viewer) 2019-09-02 19:02 |
Reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2019-08-23 13:16 | AugustoMauch | New Issue | |
2019-08-23 13:16 | AugustoMauch | Assigned To | => AugustoMauch |
2019-08-23 13:16 | AugustoMauch | OBNetwork customer | => No |
2019-08-23 13:16 | AugustoMauch | Modules | => Core |
2019-08-23 13:16 | AugustoMauch | Triggers an Emergency Pack | => No |
2019-08-23 13:40 | AugustoMauch | Steps to Reproduce Updated | View Revisions |
2019-08-23 13:40 | AugustoMauch | Description Updated | View Revisions |
2019-08-23 14:20 | hgbot | Checkin | |
2019-08-23 14:20 | hgbot | Note Added: 0114249 | |
2019-08-23 14:20 | hgbot | Status | new => resolved |
2019-08-23 14:20 | hgbot | Resolution | open => fixed |
2019-08-23 14:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e257d8e482d8931c581b379ff95c56ca050b8c9b [^] |
2019-08-23 14:21 | AugustoMauch | Review Assigned To | => caristu |
2019-08-25 06:50 | hudsonbot | Checkin | |
2019-08-25 06:50 | hudsonbot | Note Added: 0114261 | |
2019-08-29 14:57 | caristu | Note Added: 0114334 | |
2019-08-29 14:57 | caristu | Status | resolved => new |
2019-08-29 14:57 | caristu | Resolution | fixed => open |
2019-09-02 11:05 | hgbot | Checkin | |
2019-09-02 11:05 | hgbot | Note Added: 0114354 | |
2019-09-02 11:13 | AugustoMauch | Status | new => scheduled |
2019-09-02 11:13 | AugustoMauch | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/e257d8e482d8931c581b379ff95c56ca050b8c9b [^] => https://code.openbravo.com/erp/devel/pi/rev/f8c27555c37ca9951d4a7227b20d5daed06ddfc7 [^] |
2019-09-02 11:13 | AugustoMauch | Status | scheduled => resolved |
2019-09-02 11:13 | AugustoMauch | Resolution | open => fixed |
2019-09-02 16:01 | hudsonbot | Checkin | |
2019-09-02 16:02 | hudsonbot | Note Added: 0114365 | |
2019-09-02 19:02 | caristu | Note Added: 0114366 | |
2019-09-02 19:02 | caristu | Status | resolved => closed |
2019-09-02 19:02 | caristu | Fixed in Version | => 3.0PR19Q4 |
2019-11-12 16:12 | alostale | Status | closed => new |
2019-11-12 16:12 | alostale | Resolution | fixed => open |
2019-11-12 16:12 | alostale | Fixed in Version | 3.0PR19Q4 => |
2019-11-12 16:12 | alostale | Severity | minor => critical |
2019-11-12 16:12 | alostale | Status | new => scheduled |
2019-11-12 16:13 | alostale | Status | scheduled => resolved |
2019-11-12 16:13 | alostale | Fixed in Version | => 3.0PR19Q4 |
2019-11-12 16:13 | alostale | Resolution | open => fixed |
2019-11-12 16:13 | alostale | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |