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

DatabricksPlugin - Fix dag view redirect URL by using url_for redirect #41040

Merged

Conversation

pankajkoti
Copy link
Member

@pankajkoti pankajkoti commented Jul 26, 2024

We observed that the redirect does not work well on deployments
that are not rooted at "/". Following the pattern of using the
flask helper url_for in our other views, it resolves this issue and
redirects to the dag view page now work well with this fix.


^ 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.

@pankajkoti pankajkoti changed the title Fix dag view redirect URL by using url_for redirect DatabricksPlugin - Fix dag view redirect URL by using url_for redirect Jul 26, 2024
Copy link
Member

@pankajastro pankajastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pankajkoti pankajkoti merged commit dd10f47 into apache:main Jul 26, 2024
52 checks passed
@pankajkoti pankajkoti deleted the fix-databricks-plugin-dag-redirect-url branch July 26, 2024 12:20
@pankajkoti
Copy link
Member Author

Thanks a lot to @TJaniF for testing and reporting this issue 🙏🏽

molcay pushed a commit to VladaZakharova/airflow that referenced this pull request Aug 19, 2024
apache#41040)

We observed that the redirect does not work well on deployments
that are not rooted at "/". Following the pattern of using the
flask helper url_for in our other views, it resolves this issue and
redirects to the dag view page now work well with this fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants