You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chengzhi Zhao (JIRA)" <ji...@apache.org> on 2017/07/11 22:21:00 UTC

[jira] [Created] (AIRFLOW-1403) UI did not prevent inserting empty key/value

Chengzhi Zhao created AIRFLOW-1403:
--------------------------------------

             Summary: UI did not prevent inserting empty key/value
                 Key: AIRFLOW-1403
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1403
             Project: Apache Airflow
          Issue Type: Bug
          Components: ui
    Affects Versions: Airflow 1.8
            Reporter: Chengzhi Zhao


How to reproduce: 
# User goes to Airflow UI and select admin-->variables-->create. 
# Without typing anything, just save directly. 
# variables page throw an error and cannot update/delete variables via UI anymore, have to go to DB and delete the null value record.

Thought on fix: add validation before inserting data to DB



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)