Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016552Openbravo ERP01. General setuppublic2011-03-30 09:592022-02-01 08:08
roklenardic 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
3.0RC5 
 
Core
No
0016552: After deleting the client, the admin role is still in the menu
1) create a new client X
2) log out and back in, to be able to switch to the new XAdmin
3) Switch to System Admin role
4) Delete client X using General Setup || Client || Delete Client process
5) use the role switching window and you will see that the XAdmin role is still there to be selected.
6) if you seelct it and click Apply, you get the following error:
Error occured: org.openbravo.base.exception.OBException: java.lang.NullPointerException

No tags attached.
related to defect 00176413.0MP4 closed marvintm Delete Client process does not work (this issue also groups other tickets related to the Delete Client process) 
has duplicate defect 00168193.0MP1 closed alostale After deleting a client, its role remains in the profile widget 
related to design defect 0016793 acknowledged Triage Platform Base New role created by Initial Client Setup is not accessible before login out 
related to design defect 0020059 acknowledged Triage Platform Base Menu caching design defects 
Issue History
2011-03-30 09:59roklenardicNew Issue
2011-03-30 09:59roklenardicAssigned To => adrianromero
2011-03-30 09:59roklenardicModules => Core
2011-03-30 12:18shuehnerNote Added: 0035364
2011-06-03 10:58dalsasuaAssigned Toadrianromero => dalsasua
2011-06-14 16:24dmitry_mezentsevRelationship addedhas duplicate 0016819
2011-06-14 16:32dmitry_mezentsevRelationship addedrelated to 0017641
2011-07-20 18:09dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-07-28 08:48alostaleRelationship addedrelated to 0016793
2012-02-15 19:05iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 14:03vmromanosAssigned Tovmromanos => alostale
2012-03-20 12:00alostaleRelationship addedduplicate of 0020059
2012-03-20 12:00alostaleRelationship deleted0020059
2012-03-20 12:00alostaleRelationship addedrelated to 0020059
2012-03-20 15:59alostaleTypedefect => design defect
2012-09-24 23:21AugustoMauchNote Added: 0052454
2012-09-24 23:21AugustoMauchStatusnew => scheduled
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:34alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0035364)
shuehner   
2011-03-30 12:18   
The list of roles never changes automatically with doing a role change. Which does explain why the the old/stale data still shows up.

So either fix the npe and accept the stale data, or refactor all the widget's data loading to reload the data always when you open it.
(0052454)
AugustoMauch   
2012-09-24 23:21   
Effort: 2
Impact: low
Plan: mid