[richfaces-issues] [JBoss JIRA] (RF-12603) JS TypeError exception from RichFaces.csv.addMessage line added to page source

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Nov 28 16:50:21 EST 2012


    [ https://issues.jboss.org/browse/RF-12603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737898#comment-12737898 ] 

Lukáš Fryč commented on RF-12603:
---------------------------------

Thanks for detailed report Ken.

The fix was commited here:
https://github.com/richfaces/components/commit/0cc4bd5db48c162ec543de662d9231d83cfd9cf9
                
> JS TypeError exception from RichFaces.csv.addMessage line added to page source
> ------------------------------------------------------------------------------
>
>                 Key: RF-12603
>                 URL: https://issues.jboss.org/browse/RF-12603
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.3.0.M2
>            Reporter: Ken H
>            Assignee: Lukáš Fryč
>            Priority: Critical
>              Labels: regression
>             Fix For: 4.3.0.M3
>
>
> The JS line:
> {code}if (RichFaces.csv) { RichFaces.csv.addMessage({ 'UISELECTONE_INVALID': {detail:'{0}: Validation Error: Value is not valid',summary:'{0}: Validation Error: Value is not valid',severity:2} }); }{code}
> That was added to my pages causes:
> {code}Uncaught TypeError: Object #<Object> has no method 'addMessage'{code}
> RichFaces.csv does appear to not have an addMessage method. I am not sure what caused this line to be added to the generated script block on the page.
> This does not break the initial page load but the same error is appearing on AJAX responses and does break the processing of the response.

--
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