dswid is not unique after opening link in new tab (in projects list)

Description

1. Visit the Projects page. Note the dswid param value (?dswid=XYZ) in the address bar.
2. Middle-click on one of the projects (or use the context menu to select "open link in new tab")
3. Switch to the new tab. Note the dswid param in the address bar.

Expected result:
New tab has a different dswid. (The tab may initially load a page with the original dswid, but if so it should redirect to a new dswid.)

Actual result:
New tab has the same dswid. This will lead to all DeltaSpike's window-based scopes (including GroupedConversationScoped) accidentally sharing state between tabs.

Activity

Show:
Sean Flanigan
February 4, 2016, 1:03 AM

We should be able to eliminate the problem by fixing the urlrewrite rules so that they preserve the dswid param properly, but I have reported https://issues.apache.org/jira/browse/DELTASPIKE-1071

Sean Flanigan
February 3, 2016, 7:23 AM

Ah: these lists of links have URLs ending in &dswid=XYZ (without a preceding '?'), because they have been corrupted by urlrewrite rules.

Sean Flanigan
February 3, 2016, 5:40 AM

This problem can also be seen on other pages which have lists of links, including the version groups page, languages. However, middle-clicking the Projects link in the top menu, while on the Projects page, or pasting a copied URL (with dswid) into a new tab, does not reproduce the problem.

Ready for Release

Assignee

Sean Flanigan

Reporter

Sean Flanigan

Labels

None

Tested Version/s

None

Sprint

None

Fix versions

Priority

unspecified