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

[v10.2.x] Alerting: Fix export with modifications URL when mounted on subpath #78217

Merged
merged 1 commit into from Nov 15, 2023

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 3dac373 from #77622


What is this feature?

This PR fixes incorrect redirect when exporting a rule with changes. The bug initially surfaced because history.push was being combined with createUrlhistory.push from the location service already prepends the subUrl.

This PR uses the url property for a menu item with the result of createUrl().

Which issue(s) does this PR fix?:

Fixes #77149

Special notes for your reviewer:

@grafana-delivery-bot grafana-delivery-bot bot requested a review from a team as a code owner November 15, 2023 16:36
@grafana-delivery-bot grafana-delivery-bot bot requested review from gillesdemey, VikaCep, konrad147 and soniaAguilarPeiron and removed request for a team November 15, 2023 16:36
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.2.x milestone Nov 15, 2023
@gillesdemey gillesdemey merged commit 1a41311 into v10.2.x Nov 15, 2023
23 checks passed
@gillesdemey gillesdemey deleted the backport-77622-to-v10.2.x branch November 15, 2023 20:01
@ifrost ifrost modified the milestones: 10.2.x, 10.2.2 Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants