Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9082

If project name contains spaces, VPE does not display images from CSS

XMLWordPrintable

      Steps to reproduce: (use this project JBIDE-9082-testprj2.zip to reproduce instantly)

      1. Create project with name without spaces
      2. Create an HTML page with the following content:
        <!DOCTYPE html>
        <html>
        <style>
        .image {
        	height:256px;
        	width:256px;
        	background-image: url('image.png');
        }
        </style>
        </head>
        <body>
        	<div class="image"></div>
        </body>
        </html>
        
      3. Add an image with name image.png to the same folder where your HTML file is stored
      4. Now you should see image.png in VPE
      5. Rename the project to a name with a space in the middle of the name
      6. Open your HTML page again

      Actual result:
      image.png is not rendered by VPE

      Expected result:
      image.png is rendered by VPE

        1. screenshot2.png
          82 kB
          Yahor Radtsevich
        2. screenshot1.png
          105 kB
          Yahor Radtsevich

            yradtsevich Yahor Radtsevich (Inactive)
            vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: