You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Robin Edwards (JIRA)" <ji...@apache.org> on 2019/04/15 22:30:00 UTC

[jira] [Created] (AIRFLOW-4327) dag_stats end point returns dag_ids containing periods causing js selector error

Robin Edwards created AIRFLOW-4327:
--------------------------------------

             Summary: dag_stats end point returns dag_ids containing periods causing js selector error
                 Key: AIRFLOW-4327
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4327
             Project: Apache Airflow
          Issue Type: Bug
          Components: ui
    Affects Versions: 1.10.3
            Reporter: Robin Edwards


When using the RBAC UI after upgrading from 1.10.2 to 1.10.3 I got javascript errors from the main dag listing page. These were caused by jquery selectors being passed a dag_id containing a full stop '.' character. I have a number of subdags which are named in the fashion "parent_dag.subdag" as recommended by the docs.

It seems the dag_stats end point 1. doesnt escape the dag_ids and 2. returns subdags which may not be needed



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)