moxious / triage

testing triage actions for issues
0 stars 1 forks source link

Bug into the link to change the organizzation #375

Open tonypowa opened 1 month ago

tonypowa commented 1 month ago

What happened?

Grafana v10.4.1

When I click on changing the organization as admin, it always sends me to the localhost. At the same time, it should lead me to myWebSite.com/orgId=xxxxx.

I think the problem is that they have programmed it as an "absolute link"=localhost instead of a "relative link".

It should be relative always, because sometimes i may have it in localhost, but others on the website.com

error_grafana

What did you expect to happen?

to bring to the organization with the same link and not a localhost

Did this work before?

no

How do we reproduce it?

  1. being admin

  2. Grafana v10.4.1

  3. create different organization (and not being in localhost) than trying to switch between them

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana:

OS:

Browser:

Grafana platform?

None

Datasource(s)?

No response

tonypowa commented 1 month ago

This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#89321

moxious commented 1 month ago

Summary: The issue describes a bug in Grafana v10.4.1 where changing the organization as an admin redirects to localhost instead of the appropriate web address. The report suggests this is due to the use of an absolute link rather than a relative one, affecting users who are not using localhost for their GrafPanel.

moxious commented 1 month ago

Elaboration:

Thank you for reporting the issue with the change organization link in Grafana. To help us address this issue more efficiently, we'd appreciate if you could provide additional details to aid our investigation. Here are a few follow-up questions and requests for information:

Once you provide this information, we'll be better positioned to understand the problem and find a resolution.

Thank you for your collaboration!

moxious commented 1 month ago

Hello @tonypowa, this appears to be an issue with the link generation for changing organizations within Grafana's UI. The best project for this issue seems to be the Frontend Platform project, as it involves the user interface and potential problems with relative path handling. I'll tag this issue for their attention.

{ "project": "Frontend Platform project" }