Skip to content

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
@pankajkoti pankajkoti requested a review from pankajastro July 26, 2024 08:57
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
@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 🙏🏽

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