Description of problem: When trying to access UI from a URL directly like: http://localhost:3000/host/show/10), user ends up at the Dashboard show screen after login, user should be redirected to the URL that they were trying to access after login. Version-Release number of selected component (if applicable): 5.4.z How reproducible: 100% Steps to Reproduce: 1. Try to access http://localhost:3000/host/show/10 2. Login screen is presented 3. after entering credentials, user remain on dashboard screen Actual results: User remains on the dashboard screen Expected results: User should be redirected to the url they were trying to access before login. Additional info:
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=fbecb269b348ebc60c6c84601017e6412124e918 commit fbecb269b348ebc60c6c84601017e6412124e918 Author: Keenan Brock <kbrock> AuthorDate: Tue Jul 21 11:56:46 2015 -0400 Commit: Keenan Brock <kbrock> CommitDate: Tue Jul 21 11:56:46 2015 -0400 remember start_url When authenticating, we were clearing out the starting url before we captured it. So users would just go to the dashboard https://bugzilla.redhat.com/show_bug.cgi?id=1244943 vmdb/app/services/user_validation_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=47fd64ace9e7d4a78157118386af973ffdcf3c2e commit 47fd64ace9e7d4a78157118386af973ffdcf3c2e Merge: d795cc0 fbecb26 Author: Dan Clarizio <dclarizi> AuthorDate: Thu Jul 23 11:24:09 2015 -0400 Commit: Dan Clarizio <dclarizi> CommitDate: Thu Jul 23 11:24:09 2015 -0400 Merge branch 'session_start_url' into '5.4.z' remember start_url When authenticating, we were clearing out the starting url before we captured it. So users would just go to the dashboard now, we are clearing out the session after capturing it. There may be some lurking bugs in here, but this is a quick fix and moves us forward https://bugzilla.redhat.com/show_bug.cgi?id=1244943 See merge request !190 vmdb/app/services/user_validation_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Checked in 5.5.0.1-alpha1 I went to a details screen of a host and copied the URL. Then I tried to access that URL directly which worked, then I logged out and tried to access that URL. A login screen popped up and after logging in, I was redirected to the host details screen. \o/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551