You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by pl...@jakarta.apache.org on 2004/07/30 22:33:40 UTC

[jira] Resolved: (PLUTO-55) setContentType is hardcoded to only accept "text/html"

Message:

   The following issue has been resolved as FIXED.

   Resolver: David DeWolf
       Date: Fri, 30 Jul 2004 1:32 PM

Now iterate through all declared mime-types, checking for matches and wildcards.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/PLUTO-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: PLUTO-55
    Summary: setContentType is hardcoded to only accept "text/html"
       Type: Bug

     Status: Resolved
   Priority: Blocker
 Resolution: FIXED

    Project: Pluto
 Components: 
             general
   Fix Fors:
             unspecified
   Versions:
             Current CVS

   Assignee: David DeWolf
   Reporter: Eric Dalquist

    Created: Tue, 6 Jul 2004 5:30 PM
    Updated: Fri, 30 Jul 2004 1:32 PM
Environment: Windows XP, uPortal 2.3.2

Description:
While trying to implement a custom WindowState in uPortal it has been discovered that no matter what supported mime-types are specified in the portlet.xml Pluto always throws an IllegalArgumentException. After looking through the Pluto code we found it has a hardcoded check to ensure the value sent to setContentType is always "text/html". The code is at RenderResponseImpl:95.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira