Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1244943 - UI: when trying to access URL directly pointing to an object after login user remains on dashboard show screen.
UI: when trying to access URL directly pointing to an object after login user...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.4.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.5.0
Assigned To: Keenan Brock
Milan Falešník
: ZStream
Depends On:
Blocks: 1245722
  Show dependency treegraph
 
Reported: 2015-07-20 15:59 EDT by Harpreet Kataria
Modified: 2015-12-08 08:22 EST (History)
5 users (show)

See Also:
Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1245722 (view as bug list)
Environment:
Last Closed: 2015-12-08 08:22:59 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Harpreet Kataria 2015-07-20 15:59:45 EDT
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 11:26:38 EDT
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@redhat.com>
AuthorDate: Tue Jul 21 11:56:46 2015 -0400
Commit:     Keenan Brock <kbrock@redhat.com>
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 11:26:42 EDT
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@redhat.com>
AuthorDate: Thu Jul 23 11:24:09 2015 -0400
Commit:     Dan Clarizio <dclarizi@redhat.com>
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 11:40:02 EDT
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 08:22:59 EST
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.