Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038262
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2018-04-03 18:242022-02-01 08:05
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038262: Wrong behavior after trying to login with a user that does not have any assigned role

DescriptionIf 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 Reproduce0) 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker