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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006100
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] C. Securityminorhave not tried2008-11-20 12:022009-04-21 10:53
ReporterrafarodaView Statuspublic 
Assigned Toartem 
PrioritylowResolutionfixedFixed in Version2.50
StatusclosedFix in branchpiFixed in SCM revision09b0e6ba6bd5
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 7.10Database version8.3Ant version1.7
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006100: Improve message when a user without roles try to login

DescriptionWhen an user without roles tries to login the message should be:
Login failure: your user is not assigned to a Role and it is required to login into Openbravo. Ask the Security Administrator
Steps To Reproduce1) Logged as Openbravo Administrator create a new user: 4.Create user http://wiki.openbravo.com/wiki/Acceptance_Testing#Administration_master_data [^]
2) Do NOT assign a role to this user and logout.
3) Try to login

Error page displays:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.openbravo.base.exception.OBException: Exception thrown There are no valid and active user roles for user with id: 56D70FABD24D430FB171D8F20916C5A1
    org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:57)
    org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:75)
Proposed SolutionModify the failure page in order that the message displays with the standard look and feel.

The message should be:
Login failure: your user is not assigned to a Role and it is required to login into Openbravo. Ask the Security Administrator
Tagscommsup_sprint6, maintenances
Attached Filespng file icon Issue6100.png [^] (19,974 bytes) 2009-02-13 11:14

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00060502.50 closedmtaal [QA-alpha-r1] If I try to login with an user with no roles, I get an exception and cannot continue using Openbravo 

-  Notes
(0013455)
gmauleon (reporter)
2009-02-13 11:43
edited on: 2009-02-13 16:41

The error message does not shows the reported message. But shows the same error you get when the log process failed.

(0014526)
hgbot (developer)
2009-03-09 15:21

Repository: erp/devel/pi
Changeset: 09b0e6ba6bd5de574cbe9d1996e27d98eccd592a
Author: Artem Zakolodkin <artem.zakolodkin <at> opensuite.com>
Date: Mon Mar 09 16:17:30 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/09b0e6ba6bd5de574cbe9d1996e27d98eccd592a [^]

Fixed bug 0006100: Improve message when a user without roles try to login

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

- Issue History
Date Modified Username Field Change
2008-11-20 12:02 rafaroda New Issue
2008-11-20 12:02 rafaroda Assigned To => rafaroda
2008-11-20 12:02 rafaroda sf_bug_id 0 => 2317169
2008-11-20 12:02 rafaroda Regression testing => No
2008-11-24 09:45 rafaroda Relationship added related to 0006050
2008-11-24 22:24 svnbot Checkin
2008-11-24 22:24 svnbot Note Added: 0010589
2008-11-24 22:24 svnbot Status new => resolved
2008-11-24 22:24 svnbot Resolution open => fixed
2008-11-24 22:24 svnbot svn_revision => 10498
2008-11-24 22:28 mtaal Note Added: 0010590
2008-11-25 08:19 rafaroda Status resolved => new
2008-11-25 08:19 rafaroda Resolution fixed => open
2008-11-25 08:19 rafaroda Priority high => low
2008-11-25 08:19 rafaroda Severity major => minor
2008-11-25 08:19 rafaroda Note Deleted: 0010590
2008-11-25 08:19 rafaroda Note Deleted: 0010589
2008-12-09 13:39 pheenan Assigned To rafaroda => pheenan
2008-12-16 18:36 rafaroda Proposed Solution updated
2008-12-16 18:36 rafaroda Steps to Reproduce Updated
2008-12-16 18:37 rafaroda Status new => scheduled
2008-12-16 18:37 rafaroda fix_in_branch => trunk
2009-02-13 09:44 pheenan Assigned To pheenan => gmauleon
2009-02-13 11:14 gmauleon File Added: Issue6100.png
2009-02-13 11:14 gmauleon Tag Attached: commsup_sprint6
2009-02-13 11:14 gmauleon Tag Attached: maintenances
2009-02-13 11:43 gmauleon Status scheduled => closed
2009-02-13 11:43 gmauleon Note Added: 0013455
2009-02-13 11:43 gmauleon Resolution open => no change required
2009-02-13 16:18 rafaroda Status closed => new
2009-02-13 16:18 rafaroda Resolution no change required => open
2009-02-13 16:18 rafaroda Status new => scheduled
2009-02-13 16:41 gmauleon Note Edited: 0013455
2009-02-13 16:41 gmauleon Assigned To gmauleon => pheenan
2009-03-09 14:03 artem Assigned To pheenan => artem
2009-03-09 15:21 hgbot Checkin
2009-03-09 15:21 hgbot Note Added: 0014526
2009-03-09 15:21 hgbot Status scheduled => resolved
2009-03-09 15:21 hgbot Resolution open => fixed
2009-03-09 15:21 hgbot Fixed in SCM revision 10498 => http://code.openbravo.com/erp/devel/pi/rev/09b0e6ba6bd5de574cbe9d1996e27d98eccd592a [^]
2009-04-21 10:53 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker