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

Bug 415902

Summary: When I logout and login as different user, I see the old user's files
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Aidan Redpath <aidanr>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, mamacdon
Version: 3.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2013-08-26 14:31:33 EDT
4.0 M1

- Login as user A
- Go to editor page and open a file for editing
- From User menu click Logout
- Login as user B

-> I am now back in the editor, and the same file is open. In the navigator I see a list of all files of user A.

I think the problem is that when I click logout, there is a redirect in the URL to take me back to the old page. On logout it should remove this and have no redirect. E.g. when I logout user "bob" on localhost I am taken here:

http://localhost:8080/mixloginstatic/LoginWindow.html?redirect=http%3A%2F%2Flocalhost%3A8080%2Fedit%2Fedit.html%23%2Ffile%2Fbob%2Fzoo%2Fhello.txt%2Cfind%3Doryx&key=FORMOpenIdUser

Note that "bob" and the file path are encoded in the redirect.
Comment 1 Aidan Redpath CLA 2014-06-16 14:33:42 EDT
When logging in with a different user it still tries to redirect you to the page of the previous user but gives you a unauthorized error. Logout should still not have a redirect though
Comment 2 Aidan Redpath CLA 2014-06-23 11:13:07 EDT
Fix: https://git.eclipse.org/r/#/c/28884/1
Comment 3 Mark Macdonald CLA 2014-07-04 12:09:54 EDT
This was released
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=1c01ace