Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0038262 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] A. Platform | minor | always | 2018-04-03 18:24 | 2022-02-01 08:05 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | high | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
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. | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 | View Revisions |
2018-06-15 11:19 | alostale | Status | new => acknowledged |
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |