[
https://issues.jboss.org/browse/JBIDE-9082?page=com.atlassian.jira.plugin...
]
Yahor Radtsevich updated JBIDE-9082:
------------------------------------
Summary: If project name contains spaces, VPE does not display images from CSS
(was: If project name contains spaces - VPE does not display pictures on html page)
Description:
*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
was:
*Steps to reproduce:*
# Create project with name without spaces
# Create html page with image (path to image is relative to project) - image is visible
# Update project name with space in the middle of the name
# Open html page - image is *not* visible
# Rename back - image is visible
Description is updated
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