Probably just not "getting it" for how this is supposed to work...
Affected Version: At least 2.11+, haven't tested earlier or master.
What steps will reproduce the problem?
1. Craft a URL with parameters to send to a plugin, and send the browser there.
$GERRIT_URL/#/x/Plugin/?key=value
2. In GWT code in the plugin, add "Window.alert(Window.Location.getParameterMap().toString());"
"Window.alert(Window.Location.getParameter("key");"
3. Note that the first alert only shows [] as the string... in other words, an empty map. The 2nd alert shows 'null'.
What is the expected output? What do you see instead?
Expected: [key=value] (or whatever you're supposed to see with a valid map) for the first alert, 'value' for the 2nd.
Seen: [], null
Please provide any additional information below.
I want to do it this way rather than a REST call as I want the URL parameters to modify what is seen on the GWT page, not just return data as in a REST call.