You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sreenath Somarajapuram (JIRA)" <ji...@apache.org> on 2015/02/06 22:33:36 UTC

[jira] [Updated] (AMBARI-9529) Ambari view - View iframe pointing to invalid link when ambari url contains query parameters

     [ https://issues.apache.org/jira/browse/AMBARI-9529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sreenath Somarajapuram updated AMBARI-9529:
-------------------------------------------
    Description: 
We are facing a problem with the  view iframe src.

Problem
On entering the following in the address bar
http://ip:8080/#/main/views/<name>/<version>/<instance-name>?foo=bar
instead of at-least pointing to
http://ip:8080/views/<name>/<version>/<instance-name>
the view iframe is pointing to
http://ip:8080undefined ! (And our app doesn't load)

Why it is a bug: Because there is a weird way make it work!
To make it work: From the address bar first load 
http://ip:8080/views/<name>/<version>/<instance-name>
and then load 
http://ip:8080/#/main/views/<name>/<version>/<instance-name>?foo=bar

Result
Intention is to pass a path as parameter. Because of this bug we are not able to create link to a specific tez-ui page

  was:
We are facing a problem with the  view iframe src.

Problem
On entering the following in the address bar
http://ip:8080/#/main/views/<name>/<version>/<instance-name>?foo=bar
instead of at-least pointing to
http://ip:8080/views/<name>/<version>/<instance-name>
the view iframe is pointing to
http://ip:8080undefined ! (And our app doesn't load)

Why it is a bug: Because there is a weird way make it work!
To make it work: From the address bar first load 
http://ip:8080/views/<name>/<version>/<instance-name>
and then load 
http://ip:8080/#/main/views/<name>/<version>/<instance-name>?foo=bar

Result
Because of this bug we are not able to create link to a specific tez-ui page


> Ambari view - View iframe pointing to invalid link when ambari url contains query parameters
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-9529
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9529
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Sreenath Somarajapuram
>
> We are facing a problem with the  view iframe src.
> Problem
> On entering the following in the address bar
> http://ip:8080/#/main/views/<name>/<version>/<instance-name>?foo=bar
> instead of at-least pointing to
> http://ip:8080/views/<name>/<version>/<instance-name>
> the view iframe is pointing to
> http://ip:8080undefined ! (And our app doesn't load)
> Why it is a bug: Because there is a weird way make it work!
> To make it work: From the address bar first load 
> http://ip:8080/views/<name>/<version>/<instance-name>
> and then load 
> http://ip:8080/#/main/views/<name>/<version>/<instance-name>?foo=bar
> Result
> Intention is to pass a path as parameter. Because of this bug we are not able to create link to a specific tez-ui page



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)