Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0038262 | Openbravo ERP | A. Platform | public | 2018-04-03 18:24 | 2022-02-01 08:05 |
Reporter | caristu | ||||
Assigned To | Triage Platform Base | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0038262: Wrong behavior after trying to login with a user that does not have any assigned role | ||||
Description | If we refresh the login page after trying to login with a user that does not have any assigned role, it will not be possible to reload the login page again. Following this steps, the following error is raised in the log: ERROR org.openbravo.dal.core.ThreadHandler - Your user is not assigned to a Role and it is required to login into Openbravo. Ask the Security Administrator org.openbravo.base.exception.OBSecurityException: Your user is not assigned to a Role and it is required to login into Openbravo. Ask the Security Administrator at org.openbravo.dal.core.OBContext.initialize(OBContext.java:908) at org.openbravo.dal.core.OBContext.initialize(OBContext.java:850) at org.openbravo.dal.core.OBContext.initialize(OBContext.java:844) at org.openbravo.dal.core.OBContext.setFromRequest(OBContext.java:790) at org.openbravo.dal.core.OBContext.setOBContext(OBContext.java:387) at org.openbravo.dal.core.DalRequestFilter$1.doBefore(DalRequestFilter.java:78) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:44) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:105) .... | ||||
Steps To Reproduce | 0) Create a new user without any role assigned to it. 1) Logout and try to login with the newly created user. Notice that an error is shown in the login page, this is correct. 2) Refresh the login page (by pressing F5 or clicking on the browser refresh button). Notice that an error page is displayed instead of the login page. Note that to be able to display the login page again we need to clean the browser's cache and reload the login page again. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-04-03 18:24 | caristu | New Issue | |||
2018-04-03 18:24 | caristu | Assigned To | => platform | ||
2018-04-03 18:24 | caristu | Modules | => Core | ||
2018-04-03 18:24 | caristu | Triggers an Emergency Pack | => No | ||
2018-04-03 18:26 | caristu | Description Updated | bug_revision_view_page.php?rev_id=16947#r16947 | ||
2018-06-15 11:19 | alostale | Status | new => acknowledged | ||
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |