ecodina opened a new issue, #23670:
URL: https://github.com/apache/airflow/issues/23670

   ### Apache Airflow version
   
   2.3.0 (latest released)
   
   ### What happened
   
   On a clean install of 2.3.0, whenever I try to filter by owner, if I select 
it from the dropdown (which correctly detects the owner's name) it returns the 
following error:
   
   `DAG "ecodina" seems to be missing from DagBag.`
   Webserver's log:
   ```
   127.0.0.1 - - [12/May/2022:12:27:47 +0000] "GET 
/dagmodel/autocomplete?query=ecodin&status=all HTTP/1.1" 200 17 
"http://localhost/home?search=ecodina"; "Mozilla/5.0 (X11; Linux x86_64; 
rv:78.0) Gecko/20100101 Firefox/78.0"
   127.0.0.1 - - [12/May/2022:12:27:50 +0000] "GET 
/dags/ecodina/grid?search=ecodina HTTP/1.1" 302 217 
"http://localhost/home?search=ecodina"; "Mozilla/5.0 (X11; Linux x86_64; 
rv:78.0) Gecko/20100101 Firefox/78.0"
   127.0.0.1 - - [12/May/2022:12:27:50 +0000] "GET /home HTTP/1.1" 200 35774 
"http://localhost/home?search=ecodina"; "Mozilla/5.0 (X11; Linux x86_64; 
rv:78.0) Gecko/20100101 Firefox/78.0"
   127.0.0.1 - - [12/May/2022:12:27:50 +0000] "POST /blocked HTTP/1.1" 200 2 
"http://localhost/home"; "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) 
Gecko/20100101 Firefox/78.0"
   127.0.0.1 - - [12/May/2022:12:27:50 +0000] "POST /last_dagruns HTTP/1.1" 200 
402 "http://localhost/home"; "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) 
Gecko/20100101 Firefox/78.0"
   127.0.0.1 - - [12/May/2022:12:27:50 +0000] "POST /dag_stats HTTP/1.1" 200 
333 "http://localhost/home"; "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) 
Gecko/20100101 Firefox/78.0"
   127.0.0.1 - - [12/May/2022:12:27:50 +0000] "POST /task_stats HTTP/1.1" 200 
1194 "http://localhost/home"; "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) 
Gecko/20100101 Firefox/78.0"
   ```
   
   Instead, if I write the owner's name fully and avoid selecting it from the 
dropdown, it works as expected since it constructs the correct URL:
   
   `my.airflow.com/home?search=ecodina`
   
   ### What you think should happen instead
   
   The DAGs table should only show the selected owner's DAGs.
   
   ### How to reproduce
   
   - Start the Airflow Webserver
   - Connect to the Airflow webpage
   - Type an owner name in the _Search DAGs_ textbox and select it from the 
dropdown
   
   ### Operating System
   
   CentOS Linux 8
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   Installed on a conda environment, as if it was a virtualenv:
   
   - `conda create -c conda-forge -n airflow python=3.9`
   - `conda activate airflow`
   - `pip install "apache-airflow[postgres]==2.3.0" --constraint 
"https://raw.githubusercontent.com/apache/airflow/constraints-2.3.0/constraints-3.9.txt"`
   
   Database: PostgreSQL 13
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to