[
https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s...
]
Michal Petrov commented on RF-13600:
------------------------------------
There has been a change in viewState handling between JSF 2.0 and 2.2.
In 2.0 the expected id of the viewState input element is {{form:javax.faces.ViewState}},
in 2.2 it's {{form:javax.faces.ViewState}}{color:red}{{:0}}{color}, the XML response
from the server uses the old format while the JavaScript object handling the update
expects the new one.
There are similar failures if you deploy Metamer 5.0.x to AS 7.1.1.
It's also been reported in
[
JAVASERVERFACES-2907|https://java.net/jira/browse/JAVASERVERFACES-2907]
metamer: malformedXML error on each ajax request on WildFly
-----------------------------------------------------------
Key: RF-13600
URL:
https://issues.jboss.org/browse/RF-13600
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.3.5, 4.3.6
Environment: 4.3.x Metamer
WildFly 8.0.0.Final, (works on EAP 6.2)
Reporter: Jiří Štefek
Works in 5.0.x and 4.5.x Metamer but not in 4.3.x .
On every ajax request there is malformedXML error and the metamer status is set to ERROR.
But all the outputs are updated and it seems that all is working (except the status and
autocomplete) as expected.
# open e.g.
http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# click on the submit button
# see the status 'ERROR'
# open log, at the end you can see:
{code}
error[09:58:23.320]: Received 'error@malformedXML' event from <input
id=form:commandButton ...>
error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira