You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <de...@geronimo.apache.org> on 2005/11/30 14:36:30 UTC

[jira] Created: (GERONIMO-1250) Console Realm Create new user gives confusing error message.

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
    Priority: Minor


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


[jira] Updated: (GERONIMO-1250) Console Realm Create new user gives confusing error message.

Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
     [ 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


[jira] Assigned: (GERONIMO-1250) Console Realm Create new user gives confusing error message.

Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]

Vamsavardhana Reddy reassigned GERONIMO-1250:
---------------------------------------------

    Assign To: Vamsavardhana Reddy

> 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

>
> 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


[jira] Resolved: (GERONIMO-1250) Console Realm Create new user results in error and gives confusing error message.

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]
     
Aaron Mulder resolved GERONIMO-1250:
------------------------------------

    Resolution: Fixed

Patch applied -- thanks!

> Console Realm Create new user results in error and gives confusing error message.
> ---------------------------------------------------------------------------------
>
>          Key: GERONIMO-1250
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1250
>      Project: Geronimo
>         Type: Bug
>   Components: console
>  Environment: All
>     Reporter: Rick McGuire
>     Assignee: Aaron Mulder
>     Priority: Minor
>      Fix For: 1.0
>  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


[jira] Updated: (GERONIMO-1250) Console Realm Create new user results in error and gives confusing error message.

Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]

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

        Summary: Console Realm Create new user results in error and gives confusing error message.  (was: Console Realm Create new user gives confusing error message.)
           type: Bug  (was: Improvement)
    Fix Version: 1.0

Even though the JIRA issue is created pointing to the inconsistent error message, the problem actually is a side effect of "unable to add new user".  I think this issue should be fixed in 1.0 since it affects the very basic functionality of adding users to the console realm.

> Console Realm Create new user results in error and gives confusing error message.
> ---------------------------------------------------------------------------------
>
>          Key: GERONIMO-1250
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1250
>      Project: Geronimo
>         Type: Bug
>   Components: console
>  Environment: All
>     Reporter: Rick McGuire
>     Assignee: Vamsavardhana Reddy
>     Priority: Minor
>      Fix For: 1.0
>  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


[jira] Updated: (GERONIMO-1250) Console Realm Create new user gives confusing error message.

Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]

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

    Geronimo Info: [Patch Available]

> 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.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


[jira] Updated: (GERONIMO-1250) Console Realm Create new user gives confusing error message.

Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]

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

    Attachment: GERONIMO-1250.patch

In PropertiesLoginModuleManager.java, serverInfo.resolve(getUsersURI()).toURL().openConnection().getOutputStream() is throwing a UnknownServiceException because "file" protocol does not support output.  SEUsersPortlet is displaying a single message "User already exists" for all the exceptions caught.

GERONIMO-1250.patch: Fixes the problem by catching UnknownServiceException and if the protocol is "file", creates a FileOutputStream explicitly.

> 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.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


[jira] Assigned: (GERONIMO-1250) Console Realm Create new user results in error and gives confusing error message.

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ]

Dain Sundstrom reassigned GERONIMO-1250:
----------------------------------------

    Assign To: Aaron Mulder  (was: Vamsavardhana Reddy)

> Console Realm Create new user results in error and gives confusing error message.
> ---------------------------------------------------------------------------------
>
>          Key: GERONIMO-1250
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1250
>      Project: Geronimo
>         Type: Bug
>   Components: console
>  Environment: All
>     Reporter: Rick McGuire
>     Assignee: Aaron Mulder
>     Priority: Minor
>      Fix For: 1.0
>  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