Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048757 | Openbravo ERP | A. Platform | public | 2022-03-10 09:07 | 2022-03-15 14:09 |
|
Reporter | kousalya_r | |
Assigned To | jarmendariz | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR22Q2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Web browser | |
Modules | Core |
Support ticket | 38991 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048757: Not able to login when default user role deactivation |
Description | Not able to login when default role is deactivate in user roles tab of User Window.
This problem occurs because the DefaultOptionsData.getDefaultRole method does not take into account the activated check of this tab, here is the select:
The following condition should be added in the select statement 'and userRoles.isactive='Y''.
The issue has been fixed and patch is attached below. |
Steps To Reproduce | Create a user with three roles, we will call them Role1, Role2 and Role3. Set Role1 by default to the user.
In the user roles tab (it is important that it is the tab, not the roles window) deactivate Role1 and Role2.
Try to log in, if you log in, deactivate Role 3 and activate Role 2, when trying to log in you will not be able to.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 38991_UserRole (686) 2022-03-10 09:07 https://issues.openbravo.com/file_download.php?file_id=16721&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2022-03-10 09:07 | kousalya_r | New Issue | |
2022-03-10 09:07 | kousalya_r | Assigned To | => Triage Platform Base |
2022-03-10 09:07 | kousalya_r | File Added: 38991_UserRole | |
2022-03-10 09:07 | kousalya_r | OBNetwork customer | => Gold |
2022-03-10 09:07 | kousalya_r | Modules | => Core |
2022-03-10 09:07 | kousalya_r | Support ticket | => 38991 |
2022-03-10 09:07 | kousalya_r | Triggers an Emergency Pack | => No |
2022-03-11 12:24 | AugustoMauch | Assigned To | Triage Platform Base => jarmendariz |
2022-03-11 12:25 | AugustoMauch | Status | new => scheduled |
2022-03-15 14:08 | hgbot | Merge Request Status | => open |
2022-03-15 14:08 | hgbot | Note Added: 0135731 | |
2022-03-15 14:08 | hgbot | Merge Request Status | open => approved |
2022-03-15 14:09 | hgbot | Resolution | open => fixed |
2022-03-15 14:09 | hgbot | Status | scheduled => closed |
2022-03-15 14:09 | hgbot | Fixed in Version | => PR22Q2 |
2022-03-15 14:09 | hgbot | Note Added: 0135732 | |
2022-03-15 14:09 | hgbot | Note Added: 0135733 | |