[jboss-jira] [JBoss JIRA] Closed: (JBMAIL-250) MailUserImpl.getAliases(..) throws an NPE if there is no mailbox for a given alias to check.

Andrew Oliver (JIRA) jira-events at jboss.com
Wed Dec 13 19:27:23 EST 2006


     [ http://jira.jboss.com/jira/browse/JBMAIL-250?page=all ]

Andrew Oliver closed JBMAIL-250.
--------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Andrew Oliver)

> MailUserImpl.getAliases(..) throws an NPE if there is no mailbox for a given alias to check.
> --------------------------------------------------------------------------------------------
>
>                 Key: JBMAIL-250
>                 URL: http://jira.jboss.com/jira/browse/JBMAIL-250
>             Project: JBoss Mail ** Closed - moved to http://buni.org **
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>          Components: Mail Server APIs
>    Affects Versions: 1.0-M5, 1.0-RC1
>         Environment: WinXp, Jdk 1.5
>            Reporter: David Fuelling
>            Priority: Minor
>         Attachments: MailSenderImpl_patch..txt
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> MailUserImpl.getAliases(..) throws an NPE if there is no mailbox for a given alias to check.  Instead, the function should simply check if the mbox is null, and if so, simply return an empty list of aliases (i.e., there are no aliases for this user).
> See the attached file for proposed patch.

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

        



More information about the jboss-jira mailing list