You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Venkata Guddanti (JIRA)" <ad...@incubator.apache.org> on 2006/10/04 17:29:19 UTC

[jira] Created: (ADFFACES-217) DispatchServletResponse crashes when the mime-type is not known

DispatchServletResponse crashes when the mime-type is not known
---------------------------------------------------------------

                 Key: ADFFACES-217
                 URL: http://issues.apache.org/jira/browse/ADFFACES-217
             Project: MyFaces ADF-Faces
          Issue Type: Bug
          Components: Archetype
         Environment: Server
            Reporter: Venkata Guddanti
            Priority: Trivial
         Attachments: trunk.patch

DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null.

-- 
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: (ADFFACES-217) DispatchServletResponse crashes when the mime-type is not known

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-217:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> DispatchServletResponse crashes when the mime-type is not known
> ---------------------------------------------------------------
>
>                 Key: ADFFACES-217
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-217
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Archetype
>    Affects Versions: 1.0.0-incubating-core
>         Environment: Server
>            Reporter: Venkata Guddanti
>            Priority: Trivial
>             Fix For: 1.0.0-incubating-core
>
>         Attachments: trunk.patch
>
>
> DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null.

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


[jira] Updated: (ADFFACES-217) DispatchServletResponse crashes when the mime-type is not known

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-217?page=all ]

Adam Winer updated ADFFACES-217:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Checked in the fix - thanks!

> DispatchServletResponse crashes when the mime-type is not known
> ---------------------------------------------------------------
>
>                 Key: ADFFACES-217
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-217
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Archetype
>         Environment: Server
>            Reporter: Venkata Guddanti
>            Priority: Trivial
>         Attachments: trunk.patch
>
>
> DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null.

-- 
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: (ADFFACES-217) DispatchServletResponse crashes when the mime-type is not known

Posted by "Venkata Guddanti (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-217?page=all ]

Venkata Guddanti updated ADFFACES-217:
--------------------------------------

    Status: Patch Available  (was: Open)

> DispatchServletResponse crashes when the mime-type is not known
> ---------------------------------------------------------------
>
>                 Key: ADFFACES-217
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-217
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Archetype
>         Environment: Server
>            Reporter: Venkata Guddanti
>            Priority: Trivial
>         Attachments: trunk.patch
>
>
> DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null.

-- 
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: (ADFFACES-217) DispatchServletResponse crashes when the mime-type is not known

Posted by "Venkata Guddanti (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-217?page=all ]

Venkata Guddanti updated ADFFACES-217:
--------------------------------------

    Attachment: trunk.patch

> DispatchServletResponse crashes when the mime-type is not known
> ---------------------------------------------------------------
>
>                 Key: ADFFACES-217
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-217
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Archetype
>         Environment: Server
>            Reporter: Venkata Guddanti
>            Priority: Trivial
>         Attachments: trunk.patch
>
>
> DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null.

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