Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023201Openbravo ERP01. General setuppublic2013-03-01 09:082013-03-26 16:39
caristu 
pramakrishnan 
highmajoralways
closedfixed 
5
pi 
3.0MP223.0MP22 
AugustoMauch
Core
No
0023201: Can't delete widget using admin others
Is not possible to delete the a widget with admin others option after added it with admin others and log out from the application. An error is shown when trying to delete it (See attachment)
Do all the steps with Openbravo user.

1) As F&B Group Admin Role, go to the [User] window, find Openbravo User and in User Roles tab, mark the Role Administrator checkbox for F&B España - Sales role.

2) Log out and log in again

3) Go to the Workspace, click on Admin Others link:
   - Level: role
   - Value: F&B España - Sales
4) Add the invoices to collect widget. Click on Publish button
5) Log out and log in as F&B España - Sales role, notice that the widget has been added.
6) Log out and log in as F&B Group Admin Role, go to the Workspace and click on the Admin Others link, select the same values used on step 3)
7) Try to delete the widget. The attached error appears.
No tags attached.
png errorDeletingWidget.png (111,738) 2013-03-01 09:37
https://issues.openbravo.com/file_download.php?file_id=6008&type=bug
png
Issue History
2013-03-01 09:08caristuNew Issue
2013-03-01 09:08caristuAssigned To => dmiguelez
2013-03-01 09:08caristuModules => Core
2013-03-01 09:08caristuResolution time => 1364684400
2013-03-01 09:08caristuTriggers an Emergency Pack => No
2013-03-01 09:08caristuIssue Monitored: networkb
2013-03-01 09:37caristuFile Added: errorDeletingWidget.png
2013-03-04 10:12dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-03-04 10:58pramakrishnanAssigned Tojonalegriaesarte => pramakrishnan
2013-03-04 10:58pramakrishnanStatusnew => scheduled
2013-03-04 10:58pramakrishnanfix_in_branch => pi
2013-03-04 11:55pramakrishnanNote Added: 0056986
2013-03-11 18:13dmiguelezReview Assigned To => AugustoMauch
2013-03-11 18:13dmiguelezfix_in_branchpi =>
2013-03-25 18:29hgbotCheckin
2013-03-25 18:29hgbotNote Added: 0057451
2013-03-25 18:29hgbotStatusscheduled => resolved
2013-03-25 18:29hgbotResolutionopen => fixed
2013-03-25 18:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/36052ef2d6355609cc8e540bee6f8b27bf0d0b6a [^]
2013-03-25 18:31AugustoMauchNote Added: 0057452
2013-03-25 18:31AugustoMauchStatusresolved => closed
2013-03-25 18:31AugustoMauchFixed in Version => 3.0MP22
2013-03-26 16:39hudsonbotCheckin
2013-03-26 16:39hudsonbotNote Added: 0057473

Notes
(0056986)
pramakrishnan   
2013-03-04 11:55   
1) As F&B Group Admin Role, go to the User window, find Openbravo User and in User Roles tab, mark the Role Administrator checkbox for F&B España - Sales role.

2) Log out and log in again

3) Go to the Workspace, click on Admin Others link:
   - Level: role
   - Value: F&B España - Sales
4) Add the invoices to collect widget. Click on Publish button
5) Log out and log in as F&B España - Sales role, notice that the widget has been added.
6) Log out and log in as F&B Group Admin Role, go to the Workspace and click on the Admin Others link, select the same values used on step 3)
7) Delete the widget and notice that the widget gets deleted without error.
(0057451)
hgbot   
2013-03-25 18:29   
Repository: erp/devel/pi
Changeset: 36052ef2d6355609cc8e540bee6f8b27bf0d0b6a
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Mar 05 11:07:44 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/36052ef2d6355609cc8e540bee6f8b27bf0d0b6a [^]

Fixes issue 23201: Can't delete widget using admin others

---
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoActionHandler.java
---
(0057452)
AugustoMauch   
2013-03-25 18:31   
Code reviewed and verified in pi@36052ef2d635
(0057473)
hudsonbot   
2013-03-26 16:39   
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/2d2b0f1dddcd [^]

Maturity status: Test