[richfaces-issues] [JBoss JIRA] (RF-12921) rich:validator: created message is escaped, even if the message component should not be escaped

Jiří Štefek (JIRA) jira-events at lists.jboss.org
Tue Apr 23 03:04:54 EDT 2013


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

Jiří Štefek commented on RF-12921:
----------------------------------

I am not saying that it is a best use case (in steps to reproduce and test). But it imho suffices for testing this attribute.

Your proposal leads to the same (wrong) result/behaviour.

The generated JavaScript on page (bottom) for csv messages contains unicode encoded characters for things such as '<' so it is always(?) escaped. Maybe there should be some converter if the message component attribute @escape is set to false.
                
> rich:validator: created message is escaped, even if the message component should not be escaped
> -----------------------------------------------------------------------------------------------
>
>                 Key: RF-12921
>                 URL: https://issues.jboss.org/browse/RF-12921
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-validators
>         Environment: RichFaces 4.3.2-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
> JBoss AS 7.1.1.Final
> Java(TM) SE Runtime Environment 1.7.0_09-b05 @ Linux
> Firefox 18.0 @ Linux x86_64
>            Reporter: Jiří Štefek
>            Assignee: Brian Leathem
>            Priority: Minor
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> The created message is always escaped, even if the message component has its attribute @escape=false.
> Message components: rich:message, rich:messages, rich:notifyMessage, rich:notifyMessages.

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