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

[jira] [Created] (AIRFLOW-2885) A Bug in www_rbac.utils.get_params

Xiaodong DENG created AIRFLOW-2885:
--------------------------------------

             Summary: A Bug in www_rbac.utils.get_params
                 Key: AIRFLOW-2885
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2885
             Project: Apache Airflow
          Issue Type: Bug
          Components: webserver
            Reporter: Xiaodong DENG
            Assignee: Xiaodong DENG


*get_params(page=0, search="abc",showPaused=False)* returns "_search=abc&showPaused=False_", while it's supposed to return "page=0&search=abc&showPaused=False".

This is because Python takes 0 as False when it's used in a conditional statement.



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