You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Andrzej Rusin (JIRA)" <se...@james.apache.org> on 2011/08/10 13:40:27 UTC

[jira] [Created] (JAMES-1294) Setting null mail attribute produces ERROR

Setting null mail attribute produces ERROR
------------------------------------------

                 Key: JAMES-1294
                 URL: https://issues.apache.org/jira/browse/JAMES-1294
             Project: JAMES Server
          Issue Type: Bug
          Components: Queue
    Affects Versions: Trunk
            Reporter: Andrzej Rusin
            Priority: Minor


In the log:

ERROR 07:27:34,519 | james.mailqueuefactory | Not supported mail attribute LOCALADDRESS of type null

when:

public void service(Mail mail) {

(...)

String localAddress = null;

(...)

mail.setAttribute(LOCALADDRESS, localAddress);

Probably NULL-valued attributes should be allowed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Resolved] (JAMES-1294) Setting null mail attribute produces ERROR

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1294.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0
         Assignee: Norman Maurer

> Setting null mail attribute produces ERROR
> ------------------------------------------
>
>                 Key: JAMES-1294
>                 URL: https://issues.apache.org/jira/browse/JAMES-1294
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: Queue
>    Affects Versions: Trunk
>            Reporter: Andrzej Rusin
>            Assignee: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0
>
>
> In the log:
> ERROR 07:27:34,519 | james.mailqueuefactory | Not supported mail attribute LOCALADDRESS of type null
> when:
> public void service(Mail mail) {
> (...)
> String localAddress = null;
> (...)
> mail.setAttribute(LOCALADDRESS, localAddress);
> Probably NULL-valued attributes should be allowed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org