[jbosstools-issues] [JBoss JIRA] (JBIDE-9975) Escaped symbols in workspace path brake detection of CSS url path

Denis Maliarevich (Updated) (JIRA) jira-events at lists.jboss.org
Tue Nov 22 07:57:40 EST 2011


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

Denis Maliarevich updated JBIDE-9975:
-------------------------------------

    Steps to Reproduce: 
1. Create workspace with whitespaces or parentheses in its name. (or it could be a folder in a project with similar name)
2. Create a simple web page with a element with css style:
{code}
style="background: url(WebContent/pages( 1 )/test ( pic ).png);"
{code}
The idea is that the "url" should have some escaped in css symbols.
The image should present in the specified location.
3. Open Visual Page Editor or Preview and notice that the image is not displayed.

    
> Escaped symbols in workspace path brake detection of CSS url path
> -----------------------------------------------------------------
>
>                 Key: JBIDE-9975
>                 URL: https://issues.jboss.org/browse/JBIDE-9975
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M4
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.M5
>
>         Attachments: print_share_sprite.png, screenshot-1.jpg, screenshot-2.jpg, _example_page.html
>
>
> In some cases background image in the web file is not sown. Particularly when the path to the image is defined inside css style in "url" attribute.
> The issue happens when workspace path has symbols that shuld be escaped in css, like whitespaces, parentheses, etc: "${workspace_loc}/../runtime(2)".
> When JBDS resolves this path escaped symbols are written without any changes. It conducts to the failure that image is not displayed on the page.

--
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 jbosstools-issues mailing list