Lukáš Fryč created RF-13138:
-------------------------------
Summary: a4j:log - should print partial-response value in a
level=debug, but prints [Object] instead
Key: RF-13138
URL: https://issues.jboss.org/browse/RF-13138
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Lukáš Fryč
{code}
RichFaces: New request added to queue. Queue requestGroupingId changed to
form:j_idt9 log.js.jsf?ln=org.richfaces:160
RichFaces: Queue will wait 0ms before submit log.js.jsf?ln=org.richfaces:160
RichFaces: richfaces.queue: will submit request NOW
log.js.jsf?ln=org.richfaces:160
RichFaces: Received 'begin' event from <input id=form:j_idt9 ...>
log.js.jsf?ln=org.richfaces:160
RichFaces: Received 'beforedomupdate' event from <input id=form:j_idt9 ...>
log.js.jsf?ln=org.richfaces:160
RichFaces: [object Object] log.js.jsf?ln=org.richfaces:160
RichFaces: [object Object] log.js.jsf?ln=org.richfaces:160
RichFaces: richfaces.queue: ajax submit error: During update: form:surnameMsg
not found log.js.jsf?ln=org.richfaces:160
RichFaces: richfaces.queue: Nothing to submit log.js.jsf?ln=org.richfaces:160
RichFaces: Received 'error@malformedXML' event from <input id=form:j_idt9 ...>
log.js.jsf?ln=org.richfaces:160
RichFaces: [status=200] During update: form:surnameMsg not found
log.js.jsf?ln=org.richfaces:160
RichFaces: Received 'complete' event from <input id=form:j_idt9 ...>
{code}
The issue is caused by the fact that richfaces.log suppose to accept text
messages but this
[formatPartialResponse|https://github.com/richfaces/richfaces/blob/5.0.0.Alpha1/framework/src/main/resources/META-INF/resources/richfaces-jsf-log.js#L98]
generated jQuery object, which is in turn printed as {{[Object]}}.
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues