[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9082) If project name contains spaces, VPE does not display images from CSS

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Fri Jul 8 12:00:24 EDT 2011


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

Yahor Radtsevich resolved JBIDE-9082.
-------------------------------------

    Resolution: Done


*Resolved*

URLs from CSS are URL-encoded now.

> If project name contains spaces, VPE does not display images from CSS
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-9082
>                 URL: https://issues.jboss.org/browse/JBIDE-9082
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M1
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Yahor Radtsevich
>             Fix For: 3.3.x
>
>         Attachments: JBIDE-9082-testprj1.zip, JBIDE-9082-testprj2.zip, screenshot1.png, screenshot2.png
>
>
> *Steps to reproduce:* (use this project [^JBIDE-9082-testprj2.zip] to reproduce instantly)
> # Create project with name without spaces
> # Create an HTML page with the following content:
> {code:xml}
> <!DOCTYPE html>
> <html>
> <style>
> .image {
> 	height:256px;
> 	width:256px;
> 	background-image: url('image.png');
> }
> </style>
> </head>
> <body>
> 	<div class="image"></div>
> </body>
> </html>
> {code}
> # Add an image with name {{image.png}} to the same folder where your HTML file is stored
> # Now you should see {{image.png}} in VPE
> # Rename the project to a name with a space in the middle of the name
> # Open your HTML page again
> *Actual result:*
> {{image.png}} is *not* rendered by VPE
> !screenshot2.png|thumbnail!
> *Expected result:*
> {{image.png}} is rendered by VPE

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list