Bug 1287089 - RHCI Installer -> Deployments leads to New Deployment page from certain pages
Summary: RHCI Installer -> Deployments leads to New Deployment page from certain pages
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: WebUI
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: TP2
: 1.0
Assignee: John Matthews
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-01 13:39 UTC by Antonin Pagac
Modified: 2018-01-30 22:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Antonin Pagac 2015-12-01 13:39:37 UTC
Description of problem:
I have so far discovered bad functionality on these pages:

Hosts -> Content Hosts
Hosts -> Host Collections

When you navigate to one of the above pages in Satellite and then do:

RHCI Installer -> Deployments

it takes you to the New Deployment page instead of the Deployments page.

Version-Release number of selected component (if applicable):
RHCI-6.0-RHEL-7-20151130.t.2-RHCI-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Navigate to one of the upper mentioned pages in Satellite
2. Then navigate to RHCI Installer -> Deployments
3. Instead of the Deployments page it shows the New Deployment page

Actual results:
The menu button takes the user to the wrong page

Expected results:
The menu button should take user to the appropriate page

Additional info:
In the failing case, the button wants to display page:

<Satellite address>/r#/deployments/new/start

In the correct case, it displays page:

<Satellite address>/r/#/deployments

This seems to be the case of simple typo around the '/r/#/' part of the link.

Comment 1 jmagen@redhat.com 2016-01-14 13:15:34 UTC
I can't pinpoint the reason other than these pages that cause the problem are both Katello Angular pages.

Hosts -> Content Hosts
Hosts -> Host Collections

The issue is that /r will direct to /r/#/deployments/new/start

So, in some wierd cases when the menu item is /r/#/deployments, Rails doesn't pick up what's after the /#/ and then redirects to /r/#/deployments/new/start

Will continue to investigate.

Comment 2 jmagen@redhat.com 2016-01-17 14:12:54 UTC
https://github.com/fusor/fusor/pull/630

Comment 3 John Matthews 2016-01-22 20:19:38 UTC
Compose of 1/22/16

Comment 4 Antonin Pagac 2016-01-25 14:14:51 UTC
Verified.

TP2 RC3
RHCI-6.0-RHEL-7-20160122.t.1-RHCI-x86_64-dvd1.iso


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