Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-530

MyFacesGenericPortlet assumes a content-type

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1
    • 1.1.1
    • None
    • None

    Description

      MyFacesGenericPortlet.java/nonFacesRequest() forces the content-type to be "text/html" even if the response type is already set.

      It should not set it if it already has a non-null value. If it is null, it should use the value from request.getResponseContentType() (unless that value is "*" in which case text/html would be fine)

      This probably applies to the facesRender() method too.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ssilvert Stan D. Silvert
            brondsem David Philip Brondsema
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment