Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035771Openbravo ERPA. Platformpublic2017-04-12 13:122017-05-29 17:43
caristu 
caristu 
immediateminorhave not tried
closedfixed 
5
 
3.0PR17Q3 
alostale
Core
No
0035771: Can not login with a user that has a role without access to any organization
Can not login with a user that has a role without access to any organization
1) Go to the [Role] window, create a new role without any record in the [Org Access] tab.
2) Assign the newly crated role to any user.
3) Log in with the user chosen in step 2).
No tags attached.
caused by feature request 0035553 closed caristu Improve scalability of the login process 
Issue History
2017-04-12 13:12caristuNew Issue
2017-04-12 13:12caristuAssigned To => platform
2017-04-12 13:12caristuModules => Core
2017-04-12 13:12caristuTriggers an Emergency Pack => No
2017-04-12 13:12caristuRelationship addedcaused by 0035553
2017-04-12 13:12caristuAssigned Toplatform => caristu
2017-04-12 13:32hgbotCheckin
2017-04-12 13:32hgbotNote Added: 0096030
2017-04-12 13:32hgbotStatusnew => resolved
2017-04-12 13:32hgbotResolutionopen => fixed
2017-04-12 13:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f29741f802833d4963fa1b7adc099b35c5bab56e [^]
2017-04-12 13:33caristuReview Assigned To => alostale
2017-04-24 12:06alostaleNote Added: 0096122
2017-04-24 12:06alostaleStatusresolved => closed
2017-04-24 12:06alostaleFixed in Version => 3.0PR17Q3
2017-05-29 17:43hudsonbotCheckin
2017-05-29 17:43hudsonbotNote Added: 0096890

Notes
(0096030)
hgbot   
2017-04-12 13:32   
Repository: erp/devel/pi
Changeset: f29741f802833d4963fa1b7adc099b35c5bab56e
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Apr 12 13:31:38 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f29741f802833d4963fa1b7adc099b35c5bab56e [^]

fixes bug 35771: Can't login with user having a role without access to any org

There was an error on the query launched to retrieve the list of warehouses that can be accessed by a role using the Profile navigation bar widget. The query was failing if the role did not have access to any organization.

We do not need to execute the query on that case, so we now directly return an empty map.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/RoleInfo.java
---
(0096122)
alostale   
2017-04-24 12:06   
code reviewed + tested
(0096890)
hudsonbot   
2017-05-29 17:43   
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/1ee70113bdc4 [^]
Maturity status: Test