Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005322Openbravo ERPC. Securitypublic2008-09-29 18:522011-06-14 16:56
elopio 
dmitry_mezentsev 
lowminoralways
closedfixed 
5
2.40 
3.0MP0 
Core
No
0005322: logout after deleting the client with current role
If you delete the client that has the role of the current user, an error is correctly shown: Error: AccessTableNoView
With your current role and settings, you cannot view this information

The problem comes after clicking the back button. Menu bar remains disabled and you can't do anything.
Initial client setup (http://wiki.openbravo.com/wiki/Acceptance_Testing#Administration_master_data [^]):
    * Login as Openbravo/openbravo
    * Click on icon "user info" and select the role "System Administrator"
    * Go General Setup -> Client-> Initial client setup
    * Fill the data and chart of accounts according Client sample data [1]
    * Click OK

Click on icon "user info" and select role "SampleClient Admin"
Delete SampleClient:
# Go to General setup->Client->Delete client
# Select Client=SampleClient. Press OK

[1] http://wiki.openbravo.com/wiki/Acceptance_Testing/To_see_sample_data#Client [^]
- Logout and show login page after clicking the back button.
or
- Set the default role to the logged in user.
Clean-up, ReleaseCandidate
Issue History
2008-09-29 18:52elopioNew Issue
2008-09-29 18:52elopioAssigned To => cromero
2008-09-29 18:52elopiosf_bug_id0 => 2136394
2008-09-29 18:52elopioRegression testing => No
2008-11-10 13:09cromeroAssigned Tocromero => pjuvara
2008-11-17 06:55pjuvaraTag Attached: Clean-up
2008-11-17 06:55pjuvaraTag Attached: ReleaseCandidate
2008-11-17 06:55pjuvaraStatusnew => acknowledged
2009-05-22 19:36pjuvaraAssigned Topjuvara => iciordia
2011-06-14 16:54dmitry_mezentsevStatusacknowledged => scheduled
2011-06-14 16:54dmitry_mezentsevAssigned Toiciordia => dmitry_mezentsev
2011-06-14 16:54dmitry_mezentsevfix_in_branch => pi
2011-06-14 16:56dmitry_mezentsevNote Added: 0038349
2011-06-14 16:56dmitry_mezentsevStatusscheduled => closed
2011-06-14 16:56dmitry_mezentsevResolutionopen => fixed
2011-06-14 16:56dmitry_mezentsevFixed in Version => 3.0MP0

Notes
(0038349)
dmitry_mezentsev   
2011-06-14 16:56   
In 3.0 Delete Client process is available only for the System Admin user.
Changes for 2.40 are not planned.