You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Laurent CELLA (JIRA)" <de...@geronimo.apache.org> on 2006/05/19 17:08:30 UTC

[jira] Created: (GERONIMO-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
---------------------------------------------------------------------------

         Key: GERONIMO-2041
         URL: http://issues.apache.org/jira/browse/GERONIMO-2041
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: mail  
    Versions: 1.x    
 Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
    Reporter: Laurent CELLA


RFC2045 decoding / encoding does nothing.

( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).

If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.

for instance 
sample is " hé! àèôu !!!"
==== encodeText(sample, "utf-8", "Q" )  should returns ====>
=?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=

But it does nothing, without any exception thrown with Geronimo Spec Jar.



-- 
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] Commented: (GERONIMO-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

Posted by "Rick McGuire (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2041?page=comments#action_12414389 ] 

Rick McGuire commented on GERONIMO-2041:
----------------------------------------

Definitely not.  That one is even older than the others you were trying.  Try this one:

http://people.apache.org/repository/org.apache.geronimo.specs/jars/geronimo-javamail_1.3.1_spec-1.1-SNAPSHOT.jar

That was built on May 31st, and should be the latest code available. 

> Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-2041
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2041
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: mail
>     Versions: 1.x
>  Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
>     Reporter: Laurent CELLA
>     Assignee: Rick McGuire
>      Fix For: 1.1

>
> RFC2045 decoding / encoding does nothing.
> ( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).
> If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
> for instance 
> sample is " hé! àèôu !!!"
> ==== encodeText(sample, "utf-8", "Q" )  should returns ====>
> =?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
> But it does nothing, without any exception thrown with Geronimo Spec Jar.

-- 
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] Commented: (GERONIMO-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

Posted by "Rick McGuire (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2041?page=comments#action_12413821 ] 

Rick McGuire commented on GERONIMO-2041:
----------------------------------------

My mistake, I mixed up which published packages had the newer versions.  Currently, the complete javamail implementation is in the  geronimo-javamail_1.3.1_spec-1.1-SNAPSHOT jar file. 

> Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-2041
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2041
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: mail
>     Versions: 1.x
>  Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
>     Reporter: Laurent CELLA
>     Assignee: Rick McGuire
>      Fix For: 1.1

>
> RFC2045 decoding / encoding does nothing.
> ( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).
> If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
> for instance 
> sample is " hé! àèôu !!!"
> ==== encodeText(sample, "utf-8", "Q" )  should returns ====>
> =?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
> But it does nothing, without any exception thrown with Geronimo Spec Jar.

-- 
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] Commented: (GERONIMO-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

Posted by "Laurent CELLA (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2041?page=comments#action_12413817 ] 

Laurent CELLA commented on GERONIMO-2041:
-----------------------------------------

Hi Rick.

I Have downloaded :  geronimo-spec-javamail-1.3.1-rc6.jar.

It seems those methods have not been yet implemented, I obtain the same results.

Does it exist a document / webpage wich explains what is to be done and what is done on those packages 
( not only geronimo javamail but other ones, especially those deployed with axis 2 ) ?



> Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-2041
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2041
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: mail
>     Versions: 1.x
>  Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
>     Reporter: Laurent CELLA
>     Assignee: Rick McGuire
>      Fix For: 1.1

>
> RFC2045 decoding / encoding does nothing.
> ( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).
> If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
> for instance 
> sample is " hé! àèôu !!!"
> ==== encodeText(sample, "utf-8", "Q" )  should returns ====>
> =?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
> But it does nothing, without any exception thrown with Geronimo Spec Jar.

-- 
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] Commented: (GERONIMO-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

Posted by "Laurent CELLA (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2041?page=comments#action_12414385 ] 

Laurent CELLA commented on GERONIMO-2041:
-----------------------------------------

Hi Rick.

I tried with this one : geronimo-spec-javamail-1.3.1-SNAPSHOT.jar , wich i found there :
http://snapshots.maven.codehaus.org/maven2/geronimo-spec/geronimo-spec-javamail/1.3.1-SNAPSHOT/
Is it the same that the one you spoke about ?

This one does not work either, plus it does not contain any mailcap neither content hander classes.

Finally I solved the problem that makes me to submit this JIRA by using SUN javamail 1.4 implementation.
However, I Would like to know the "end of the story" about this issue.

Regards.


> Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-2041
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2041
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: mail
>     Versions: 1.x
>  Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
>     Reporter: Laurent CELLA
>     Assignee: Rick McGuire
>      Fix For: 1.1

>
> RFC2045 decoding / encoding does nothing.
> ( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).
> If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
> for instance 
> sample is " hé! àèôu !!!"
> ==== encodeText(sample, "utf-8", "Q" )  should returns ====>
> =?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
> But it does nothing, without any exception thrown with Geronimo Spec Jar.

-- 
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-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

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

    Fix Version: 1.1
     Resolution: Fixed

The javamail spec version shipping with Geronimo 1.0 was only a partial implementation, particularly with the MimeUtility class.  The latest version in the geronimo-spec-javamail-1.3.1-rc6.jar has a proper implementation of encodeWord()/decodeWord() that should match the results from the Sun implementation. 

> Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-2041
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2041
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: mail
>     Versions: 1.x
>  Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
>     Reporter: Laurent CELLA
>     Assignee: Rick McGuire
>      Fix For: 1.1

>
> RFC2045 decoding / encoding does nothing.
> ( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).
> If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
> for instance 
> sample is " hé! àèôu !!!"
> ==== encodeText(sample, "utf-8", "Q" )  should returns ====>
> =?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
> But it does nothing, without any exception thrown with Geronimo Spec Jar.

-- 
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-2041) Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing

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

Rick McGuire reassigned GERONIMO-2041:
--------------------------------------

    Assign To: Rick McGuire

> Geronimo 1.3 Mail API : RFC  EncodeText and DecodeText methods does nothing
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-2041
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2041
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: mail
>     Versions: 1.x
>  Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
>     Reporter: Laurent CELLA
>     Assignee: Rick McGuire

>
> RFC2045 decoding / encoding does nothing.
> ( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...),  ... ).
> If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
> for instance 
> sample is " hé! àèôu !!!"
> ==== encodeText(sample, "utf-8", "Q" )  should returns ====>
> =?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
> But it does nothing, without any exception thrown with Geronimo Spec Jar.

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