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

Denis Maliarevich (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Tue Jan 10 10:10:09 EST 2012


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

Denis Maliarevich edited comment on JBIDE-9975 at 1/10/12 10:09 AM:
--------------------------------------------------------------------

On Windows I have the following code, background-image in DIV#1 is NOT displayed:
{code}
<div style="background-image:url(../css ( 2 )/print_share_sprite.png); color: RED;">
{code}
background-image in DIV#2 is DISPLAYED:
{code}
<div style="background-image:url(../css\ \(\ 2\ \)/print_share_sprite.png);  color: GREEN;">
{code}
Screenshot: !jbide9975windows.png|thumbnail!
                
      was (Author: dmaliarevich):
    On Windows I have the following code, background-image in DIV#1 is DISPLAYED:
{code}
<div style="background-image:url(../css\ \(\ 2\ \)/print_share_sprite.png);  color: GREEN;">
{code}
background-image in DIV#2 is NOT displayed:
{code}
<div style="background-image:url(../css ( 2 )/print_share_sprite.png); color: RED;">
{code}
Screenshot: !jbide9975windows.png|thumbnail!
                  
> 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
>         Environment: Linux 32bit, Java Sun 1.6.0_30, JBDS Version: 5.0.0.M5 Build id: v20111215-0954-H60-M5 Build date: 20111215-0954
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.Beta1
>
>         Attachments: jbide9975windows.png, 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