You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/08/30 20:14:00 UTC

[jira] [Resolved] (AIRFLOW-2900) Code not visible for Packaged DAGs

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

Kaxil Naik resolved AIRFLOW-2900.
---------------------------------
    Resolution: Fixed

Resolved by https://github.com/apache/incubator-airflow/pull/3749

> Code not visible for Packaged DAGs
> ----------------------------------
>
>                 Key: AIRFLOW-2900
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2900
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webapp, webserver
>    Affects Versions: Airflow 1.9.0
>            Reporter: Jacob Biesinger
>            Assignee: Jacob Biesinger
>            Priority: Minor
>
> Packaged DAGs are present on the server as ZIP files. The [rendering code|https://github.com/apache/incubator-airflow/blob/a29fe350164937b28f525b46f7aecbc309665e5a/airflow/www/views.py#L668] is not aware of zip files and fails to show code for packaged apps.
>  
> Easy fix: If .zip appears as a suffix in the path components, attempt to open the file using ZipFile.



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