[arquillian-issues] [JBoss JIRA] (ARQAJO-101) Using of JQuery 1.5 causes that JQuery selectors are not escaped properly

Juraj Huska (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 19 13:45:09 EST 2011


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

Juraj Huska commented on ARQAJO-101:
------------------------------------

I can not find any mention about stop supporting of this escape feature in release notes for release 1.5, where it stop to work firstly.
In the main screen with Jquery Selectors there is also note:

If you wish to use any of the meta-characters ( such as !"#$%&'()*+,./:;<=>?@[\]^`{|}~ ) as a literal part of a name, you must escape the character with two backslashes: \\. For example, if you have an element with id="foo.bar", you can use the selector $("#foo\\.bar"). 
                
> Using of JQuery 1.5 causes that JQuery selectors are not escaped properly
> -------------------------------------------------------------------------
>
>                 Key: ARQAJO-101
>                 URL: https://issues.jboss.org/browse/ARQAJO-101
>             Project: Arquillian Ajocado
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.0.CR2
>         Environment: Ajocado 1.0.0-SNAPSHOT
>            Reporter: Juraj Huska
>            Assignee: Lukáš Fryč
>
> When I want to use JQuery selectors in my tests, I can not just type:
> {code}
> jq("input[id$=attributes:handleClassInput]");
> {code}
> since it will not be properly escaped, and thus will fail to create this JQuery Locator. I can avoid it by escaping it manually, but it will too much work for my big test suite, which already worked with RichFaces Selenium properly.
> The reason why *it works in RichFaces Selenium is that it uses JQuery v1.4.4 and Ajocado is using 1.5.*
> With 1.4.4 it works fine also in Ajocado.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the arquillian-issues mailing list