You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/04/06 14:35:33 UTC

[airflow] branch fix-graph-refresh created (now 60aae80f60)

This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a change to branch fix-graph-refresh
in repository https://gitbox.apache.org/repos/asf/airflow.git


      at 60aae80f60 Prevent meta name clash for task instances

This branch includes the following new commits:

     new 60aae80f60 Prevent meta name clash for task instances

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[airflow] 01/01: Prevent meta name clash for task instances

Posted by bb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch fix-graph-refresh
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 60aae80f600590cc082d73a095f0460b9979924f
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Wed Apr 6 10:35:01 2022 -0400

    Prevent meta name clash for task instances
---
 airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx | 2 +-
 airflow/www/templates/airflow/dag.html                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx b/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx
index d0841d0119..178374a09e 100644
--- a/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx
+++ b/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx
@@ -30,7 +30,7 @@ import { getMetaValue, appendSearchParams } from '../../../../utils';
 const isK8sExecutor = getMetaValue('k8s_or_k8scelery_executor') === 'True';
 const numRuns = getMetaValue('num_runs');
 const baseDate = getMetaValue('base_date');
-const taskInstancesUrl = getMetaValue('task_instances_url');
+const taskInstancesUrl = getMetaValue('task_instances_list_url');
 const renderedK8sUrl = getMetaValue('rendered_k8s_url');
 const renderedTemplatesUrl = getMetaValue('rendered_templates_url');
 const logUrl = getMetaValue('log_url');
diff --git a/airflow/www/templates/airflow/dag.html b/airflow/www/templates/airflow/dag.html
index d77d7f2bc0..16c0d27cb5 100644
--- a/airflow/www/templates/airflow/dag.html
+++ b/airflow/www/templates/airflow/dag.html
@@ -64,7 +64,7 @@
   <meta name="log_url" content="{{ url_for('Airflow.log', dag_id=dag.dag_id) }}">
   <meta name="rendered_templates_url" content="{{ url_for('Airflow.rendered_templates', dag_id=dag.dag_id) }}">
   <meta name="rendered_k8s_url" content="{{ url_for('Airflow.rendered_k8s', dag_id=dag.dag_id) }}">
-  <meta name="task_instances_url" content="{{ url_for('TaskInstanceModelView.list') }}">
+  <meta name="task_instances_list_url" content="{{ url_for('TaskInstanceModelView.list') }}">
   <meta name="dag_details_api" content="{{ url_for('/api/v1.airflow_api_connexion_endpoints_dag_endpoint_get_dag_details', dag_id=dag.dag_id) }}">
   <meta name="tasks_api" content="{{ url_for('/api/v1.airflow_api_connexion_endpoints_task_endpoint_get_tasks', dag_id=dag.dag_id) }}">
   <meta name="mapped_instances_api" content="{{ url_for('/api/v1.airflow_api_connexion_endpoints_task_instance_endpoint_get_mapped_task_instances', dag_id=dag.dag_id, dag_run_id='_DAG_RUN_ID_', task_id='_TASK_ID_') }}">