You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/18 03:14:06 UTC

[jira] [Updated] (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 ]

Aizhamal Nurmamat kyzy updated AIRFLOW-2900:
--------------------------------------------
         Labels: webapp  (was: )
    Component/s:     (was: webserver)
                     (was: webapp)
                 ui

Moving to ui component as part of component refactor. Webapp component will be removed.

> 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: ui
>    Affects Versions: 1.9.0, 1.10.0
>            Reporter: Jacob Biesinger
>            Assignee: Jacob Biesinger
>            Priority: Minor
>              Labels: webapp
>             Fix For: 1.10.1
>
>
> 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)