alexbegg opened a new issue #10434:
URL: https://github.com/apache/airflow/issues/10434


   **Apache Airflow version**:
   1.10.11
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", 
GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", 
BuildDate:"2020-07-16T00:04:31Z", GoVersion:"go1.14.4", Compiler:"gc", 
Platform:"darwin/amd64"}
   Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", 
GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", 
BuildDate:"2020-03-13T06:39:58Z", GoVersion:"go1.13.8", Compiler:"gc", 
Platform:"linux/amd64"}
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: Azure Kubernetes Service
   - **OS** (e.g. from /etc/os-release): Debian GNU/Linux 10 (buster)
   - **Kernel** (e.g. `uname -a`): Linux airflow-web-65cb7d9cb8-qzcbv 
4.15.0-1089-azure #99~16.04.1-Ubuntu SMP Fri Jun 5 15:30:32 UTC 2020 x86_64 
GNU/Linux
   - **Install tools**: Helm chart "stable/airflow"
   - **Others**:
   
   **What happened**:
   
   It seems to be possibly ever since 
https://github.com/apache/airflow/pull/8046 was merged in the "Last Run" link 
on the home page with RBAC UI is not taking you the graph of that last run, 
instead it takes you to a graph with no activity shown. It looks like it is 
because it is not URL-encoding the `execution_date` in the URL.
   
   **What you expected to happen**:
   
   Clicking a "Last Run" link when "Graph" is your default view it should take 
you to the graph of that last run, instead it a graph with no activity shown.
   
   **How to reproduce it**:
   
   Using RBAC UI, click on a link in the "Last Run" column, it will take you to 
a graph view with no activity shown. The URL will show as ending in a date 
similar to `execution_date=2020-08-19T05:00:00+00:00` and if you change all the 
`:` to `%3A` and `+` to `%2B` it should take you to the correct last run.
   
   **Anything else we need to know**:
   
   The URL for the link currently has 
`execution_date=2020-08-19T05:00:00+00:00`, whereas if you go to the actual 
graph page and select that same DAG run the URL is insead 
`execution_date=2020-08-19T05%3A00%3A00%2B00%3A00` which works.
   
   If the link's url has the execution date URL-encoded then the link should 
work.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to