Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix www cluster_activity view not loading due to standaloneDagProcessor templating #34274

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

yermalov-here
Copy link
Contributor

@yermalov-here yermalov-here commented Sep 11, 2023

This PR fixes the problem with webserver cluster_activity view not loading.

Airflow version: not yet released

When the airflow/www/templates/airflow/cluster_activity.html is templated the standalone_dag_processor is replaced with a capitalized boolean, which is not recognized by js. In the end it tries doing the following comparison False === 'True'.

As far as I understand it was introduced here #33611


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Sep 11, 2023
@potiuk potiuk added this to the Airflow 2.7.2 milestone Sep 11, 2023
@potiuk potiuk merged commit 3d8ea79 into apache:main Sep 11, 2023
42 checks passed
@yermalov-here yermalov-here deleted the fix_www_cluster_activity branch September 12, 2023 06:37
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants