geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-1250) Console Realm Create new user gives confusing error message.
Date Thu, 01 Dec 2005 07:58:30 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]

Vamsavardhana Reddy updated GERONIMO-1250:
------------------------------------------

    Attachment: GERONIMO-1250-fixmessage.patch

GERONIMO-1250.patch fixed the source of the error, but didn't fix the error message itself.

GERONIMO-1250-fixmessage.patch:
  1) Displays the message from the exception caught.
  2) More informative messages for confirm dialogue box while deleting user or group.

> Console Realm Create new user gives confusing error message.
> ------------------------------------------------------------
>
>          Key: GERONIMO-1250
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1250
>      Project: Geronimo
>         Type: Improvement
>   Components: console
>  Environment: All
>     Reporter: Rick McGuire
>     Assignee: Vamsavardhana Reddy
>     Priority: Minor
>  Attachments: GERONIMO-1250-fixmessage.patch, GERONIMO-1250.patch
>
> The default "out-of-the-box" configuration uses the PropertiesLoginModule, which doesn't
support adding additional userids and groups.  However, the Console Realm portlet supports
Create New User and Create New Group as options.  If you try to create either a new group
or user, you get an error that the "ERROR:  User already exists".  The user does not already
exist, so the error doesn't really make sense.  This operation is failing because the PropertiesLoginModuleManager
is throwing an exception because it doesn't support updates, not because this is a duplicate
name.  The portlet is just catching all exceptions and reporting this as a duplicate name
error.  It would be nice to make this a little more granular.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message