Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 426958

Summary: Some images are missing in IE8 if URL contains parameter with "/"
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: mknauer, rsternberg, tbuschto, vincenzo.caselli
Version: 2.2   
Target Milestone: 2.3 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ivan Furnadjiev CLA 2014-01-29 17:41:28 EST
Steps to reproduce:
1. Start Workbench Demo with query parameter with "/" in it (do not use online Workbench Demo as it is still based on RAP 2.1)
http://127.0.0.1:8080/workbenchdemo/workbench?a=b/b
2. All button, toolbar images are missing. Tree expand symbol is missing too.
The reason for it is the URL conversion from relative to absolute in IE8. In Style.js#_basePath the logic is looking for the last "/", which leads to wrong base path in case of query parameters with "/".
Comment 1 Tim Buschtoens CLA 2014-01-30 04:28:03 EST
I can reproduce it with IE11 in quirksmode (i.e. emulated IE8).
Comment 2 Tim Buschtoens CLA 2014-01-30 08:44:06 EST
Fixed in master with commit 00ef0c690d22bdc4d20925ab41a7023880912460.
Comment 3 Vincenzo Caselli CLA 2014-01-31 17:43:32 EST
Hi Tim,
that's great!
Will this be included in the 2.2 maintenance branch or is it only targeted for 2.3? More generally, when most probably this fix will be out in a stable release?
Thank you
Vincenzo
Comment 4 Ralf Sternberg CLA 2014-02-02 01:09:05 EST
(In reply to Vincenzo Caselli from comment #3)

There's a pending change for the 2.1.2: https://git.eclipse.org/r/#/c/21380/
For 2.2, no service release are planned.