You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Stefano Bagnara (JIRA)" <ji...@apache.org> on 2008/06/18 17:08:44 UTC

[jira] Created: (GERONIMO-4128) geronimo javamail uses Message-Id instead of Message-ID

geronimo javamail uses Message-Id instead of Message-ID
-------------------------------------------------------

                 Key: GERONIMO-4128
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4128
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: mail
    Affects Versions: 2.1.1
            Reporter: Stefano Bagnara
            Assignee: Rick McGuire
            Priority: Minor


According to http://www.ietf.org/rfc/rfc2822.txt "3.6.4. Identification fields" the right name is "Message-ID:" with the uppercase D.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4128) geronimo javamail uses Message-Id instead of Message-ID

Posted by "Stefano Bagnara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606340#action_12606340 ] 

Stefano Bagnara commented on GERONIMO-4128:
-------------------------------------------

I confirm that our test passes now! Your solution make sense.

> geronimo javamail uses Message-Id instead of Message-ID
> -------------------------------------------------------
>
>                 Key: GERONIMO-4128
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4128
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>            Priority: Minor
>
> According to http://www.ietf.org/rfc/rfc2822.txt "3.6.4. Identification fields" the right name is "Message-ID:" with the uppercase D.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4128) geronimo javamail uses Message-Id instead of Message-ID

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605994#action_12605994 ] 

Rick McGuire commented on GERONIMO-4128:
----------------------------------------

Ok, perhaps I'm jumping the gun here a little.  My statement was related to the default order in InternetHeaders, since that was one of the problems I fixed this morning.  Will take a closer look at this one.  

> geronimo javamail uses Message-Id instead of Message-ID
> -------------------------------------------------------
>
>                 Key: GERONIMO-4128
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4128
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>            Priority: Minor
>
> According to http://www.ietf.org/rfc/rfc2822.txt "3.6.4. Identification fields" the right name is "Message-ID:" with the uppercase D.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4128) geronimo javamail uses Message-Id instead of Message-ID

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire closed GERONIMO-4128.
----------------------------------

    Resolution: Fixed

Committed revision 669445.

Ok, I was able to get this *mostly* compatible with the Sun implementation.  There's still some interesting behavior with that version where the header can be seen with the original "Message-Id" case.  I decided that with a setHeader() operation to just use the case that the caller is setting rather than keep the original set by the message ordering. 

> geronimo javamail uses Message-Id instead of Message-ID
> -------------------------------------------------------
>
>                 Key: GERONIMO-4128
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4128
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>            Priority: Minor
>
> According to http://www.ietf.org/rfc/rfc2822.txt "3.6.4. Identification fields" the right name is "Message-ID:" with the uppercase D.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4128) geronimo javamail uses Message-Id instead of Message-ID

Posted by "Stefano Bagnara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605990#action_12605990 ] 

Stefano Bagnara commented on GERONIMO-4128:
-------------------------------------------

Are you sure? Our tests explicitly check for Message-ID and they find it :-)

In the GPLed MimeMessage.java from glassfish I only see Message-ID.
I see Message-Id only in InternetHeaders between the default headers used to define sorting of headers (headers.add(new InternetHeader("Message-Id", null));) but this is a bug, and it does not affect the output: simply the Message-ID will not be sorted (differently from what one might expect) but javamail will never output a message-id with a lowercase d.

> geronimo javamail uses Message-Id instead of Message-ID
> -------------------------------------------------------
>
>                 Key: GERONIMO-4128
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4128
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>            Priority: Minor
>
> According to http://www.ietf.org/rfc/rfc2822.txt "3.6.4. Identification fields" the right name is "Message-ID:" with the uppercase D.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4128) geronimo javamail uses Message-Id instead of Message-ID

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605984#action_12605984 ] 

Rick McGuire commented on GERONIMO-4128:
----------------------------------------

Not totally certain what to do with this one.  The Sun implementation also uses "Message-Id".  In general, the philosophy has been to be "big compatible" with the reference implementation unless the bug is a serious error. 

> geronimo javamail uses Message-Id instead of Message-ID
> -------------------------------------------------------
>
>                 Key: GERONIMO-4128
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4128
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>            Priority: Minor
>
> According to http://www.ietf.org/rfc/rfc2822.txt "3.6.4. Identification fields" the right name is "Message-ID:" with the uppercase D.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.