Bug 1244943 - UI: when trying to access URL directly pointing to an object after login user remains on dashboard show screen.
Summary: UI: when trying to access URL directly pointing to an object after login user...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.5.0
Assignee: Keenan Brock
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks: 1245722
TreeView+ depends on / blocked
 
Reported: 2015-07-20 19:59 UTC by Harpreet Kataria
Modified: 2015-12-08 13:22 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1245722 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:22:59 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Harpreet Kataria 2015-07-20 19:59:45 UTC
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:

Comment 4 CFME Bot 2015-07-23 15:26:38 UTC
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(-)

Comment 5 CFME Bot 2015-07-23 15:26:42 UTC
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(-)

Comment 6 Milan Falešník 2015-09-18 15:40:02 UTC
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/

Comment 8 errata-xmlrpc 2015-12-08 13:22:59 UTC
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


Note You need to log in before you can comment on or make changes to this bug.