You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Freedman (JIRA)" <de...@myfaces.apache.org> on 2009/05/06 18:25:30 UTC

[jira] Resolved: (PORTLETBRIDGE-70) GenericFacesPortlet default contentType can be invalid

     [ https://issues.apache.org/jira/browse/PORTLETBRIDGE-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Freedman resolved PORTLETBRIDGE-70.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.0.0

GenericFacesPortlet now ensures that the content type it sets is a valid one.

> GenericFacesPortlet default contentType can be invalid
> ------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-70
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-70
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>    Affects Versions: 1.0.0-beta, 2.0.0-alpha
>            Reporter: Michael Freedman
>            Assignee: Michael Freedman
>             Fix For: 1.0.0, 2.0.0
>
>
> The GenericFacesPortlet sets the response contenttype prior to dispatching to the bridge.  The setting is based on a configuration value (default setting).  This value may not be valid for the current request.  Instead the GFP should check to see if the contentType it wants to set is valid or not.  If its valid it should set it.  If its not valid it should set the response content type to the portlet requests preferrred content type.

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