[richfaces-issues] [JBoss JIRA] (RF-13138) a4j:log - should print partial-response value in a level=debug, but prints [Object] instead

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Dec 3 11:37:06 EST 2013


     [ https://issues.jboss.org/browse/RF-13138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-13138:
-------------------------------

    Fix Version/s: 5-Tracking
                       (was: 5.0.0.Alpha1)

    
> 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) 
>    Affects Versions: 4.3.3
>            Reporter: Lukáš Fryč
>             Fix For: 5-Tracking
>
>
> {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 at 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



More information about the richfaces-issues mailing list