Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006050Openbravo ERP01. General setuppublic2008-11-19 12:282008-12-16 13:39
plujan 
mtaal 
urgentcriticalhave not tried
closedfixed 
20
pi 
2.50 
Core
No
0006050: [QA-alpha-r1] If I try to login with an user with no roles, I get an exception and cannot continue using Openbravo
I create a new user. I select no roles for the new user. When trying to log in with that user, I get an exception:
org.openbravo.base.exception.OBException: Exception thrown There are
no valid and active user roles for user with id:
619FE305156041B1BF71E6DE2FD29EF2
    org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:57)
    org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:75)

And after that error, login page does not work anymore, not even restarting Tomcat nor Postgres services.
No tags attached.
depends on backport 00060522.50 closed rafaroda [QA-alpha-r1] If I try to login with an user with no roles, I get an exception and cannot continue using Openbravo 
related to defect 0006100 closed artem Improve message when a user without roles try to login 
Issue History
2008-11-19 12:28plujanNew Issue
2008-11-19 12:28plujanAssigned To => mtaal
2008-11-19 12:28plujansf_bug_id0 => 2314617
2008-11-19 12:28plujanRegression testing => No
2008-11-19 12:31plujanStatusnew => scheduled
2008-11-19 12:31plujanfix_in_branch => trunk
2008-11-19 12:35plujanAssigned Tomtaal => rafaroda
2008-11-24 09:45rafarodaRelationship addedrelated to 0006100
2008-11-24 10:00rafarodaAssigned Torafaroda => mtaal
2008-11-24 13:29pjuvaraPriorityimmediate => urgent
2008-11-24 13:29pjuvarafix_in_branchtrunk =>
2008-11-24 22:24svnbotCheckin
2008-11-24 22:24svnbotNote Added: 0010588
2008-11-24 22:24svnbotStatusscheduled => resolved
2008-11-24 22:24svnbotResolutionopen => fixed
2008-11-24 22:24svnbotsvn_revision => 10498
2008-12-16 13:39psarobeStatusresolved => closed

Notes
(0010588)
svnbot   
2008-11-24 22:24   
Repository: openbravo
Revision: 10498
Author: mtaal
Date: 2008-11-24 22:24:19 +0100 (Mon, 24 Nov 2008)

Solves an issue which occurs when no valid role is assigned to a user. Fixes bug 6050, fixed bug 6100

---
U trunk/src/org/openbravo/base/secureApp/LoginHandler.java
U trunk/src/org/openbravo/dal/core/OBContext.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=10498&sc=1 [^]