[FieldFormatters] Relative URL formatter inconsistencies with non-empty basePath or custom space #99171
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, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
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.
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.
The text was updated successfully, but these errors were encountered: