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

[FieldFormatters] Relative URL formatter inconsistencies with non-empty basePath or custom space #99171

Open
Dosant opened this issue May 4, 2021 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:FieldFormatters impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)

Comments

@Dosant
Copy link
Contributor

Dosant commented May 4, 2021

Kibana version: 7.12.0

Describe the bug:

Relative URL inside URL field formatters behave differently depending on if Kibana is running on a non-empty basePath or/and inside a custom space.

URL Kibana empty basePath non-empty basePath custom space
/test/hello http://localhost:5601/test/hello http://localhost:5601/vij/app/test/hello http://localhost:5601/vij/s/custom/app/test/hello

Any additional context:

So it looks like it is implemented in a way, that field formatted expects relative URL to include any non-empty basePath (including custom space prefix).

For example, assuming we are in a space and it is available at http://localhost:5601/vij/s/custom/, then to have a relative URL we need to use: /vij/s/custom/test/hello.

Such approach breaks relative URLs in URL field formatters when launching Kibana on a different basePath or when transferring/sharing/copying index pattern into a different space.

@Dosant Dosant added bug Fixes for quality problems that affect the customer experience loe:medium Medium Level of Effort triaged Feature:FieldFormatters impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels May 4, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label May 4, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 4, 2021
@petrklapka petrklapka added Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) and removed Team:AppServicesSv labels Dec 12, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@sophiec20 sophiec20 removed the triaged label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:FieldFormatters impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
None yet
Development

No branches or pull requests

4 participants