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

java.lang.IllegalArgumentException: text/xml on ajax requests with webkit mobile browser

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.7
    • 2.0.14, 2.1.8
    • None
    • None

    Description

      Mobile webkit browser doesn't send an accept header on ajax requests.

      java.lang.IllegalArgumentException: text/xml
      at org.apache.myfaces.renderkit.html.HtmlRenderKitImpl.createResponseWriter(HtmlRenderKitImpl.java:299)
      at org.apache.myfaces.extensions.cdi.jsf2.impl.scope.conversation.InterceptedRenderKit.createResponseWriter(InterceptedRenderKit.java:56)
      at org.apache.myfaces.context.servlet.PartialViewContextImpl.getPartialResponseWriter(PartialViewContextImpl.java:344)
      at org.primefaces.context.PrimePartialViewContext.getPartialResponseWriter(PrimePartialViewContext.java:50)

      Attachments

        Activity

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

          People

            lu4242 Leonardo Uribe
            mbuett Marcus Büttner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment