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

Bug 406110

Summary: URL parameters not always available in AbstractEntryPoint.createContents()
Product: [RT] RAP Reporter: Johannes Eickhold <jeick>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: mknauer
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Johannes Eickhold CLA 2013-04-19 12:40:05 EDT
Reading URL parameters via RWT.getRequest().getParam* when called from within AbstractEntryPoint.createContents() does not always succeed.

Here are three different ways to reload I tested in Firefox.
Only the last way (opening the same URL in a new tab) makes the parameters appear in the code. (Request dumps are copy&paste from Firebug)


Key pressed: F5

Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding	gzip, deflate
Accept-Language	de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Cache-Control	max-age=0
Connection	keep-alive
Cookie	settingStore=1360837596928_0; JSESSIONID=1a9xaxarhqgsg1ubc1teeprvri
Host	127.0.0.1:10080
User-Agent	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0


key pressed: Ctrl-F5

Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding	gzip, deflate
Accept-Language	de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Cache-Control	no-cache
Connection	keep-alive
Cookie	settingStore=1360837596928_0; JSESSIONID=1a9xaxarhqgsg1ubc1teeprvri
Host	127.0.0.1:10080
Pragma	no-cache
User-Agent	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0


key pressed: Ctrl+leftClickOnReloadArrow

Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding	gzip, deflate
Accept-Language	de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Connection	keep-alive
Cookie	settingStore=1360837596928_0; JSESSIONID=1a9xaxarhqgsg1ubc1teeprvri
Host	127.0.0.1:10080
User-Agent	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Comment 1 Ivan Furnadjiev CLA 2013-04-19 13:19:59 EDT
Already fixed in master.

*** This bug has been marked as a duplicate of bug 404546 ***