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/09/22 00:14:00 UTC

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

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

Xiaodong DENG closed AIRFLOW-2885.
----------------------------------
    Resolution: Won't Fix

It would not cause any real exception in the UI. Even if it's very 'implicit'.

> 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
>            Priority: Critical
>
> *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)