myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3543) java.lang.IllegalArgumentException: text/xml on ajax requests with webkit mobile browser
Date Wed, 09 May 2012 07:46:45 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271192#comment-13271192
] 

Werner Punz commented on MYFACES-3543:
--------------------------------------

a quick workaround would be to add the accept header manually for webkit in our ajax part.
However in the end the xml check itself probably needs to be resolved, because empty accept
headers are valid and mean by w3c spec that any type  is possible.

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

> -----------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3543
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3543
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.7
>            Reporter: Marcus B├╝ttner
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message