[Maps] Proxied File Manifest can return incorrect format #71975
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
v7.10.0
v8.0.0
Kibana version: 7.8.0, master
Describe the bug:
When multiple formats are available in the Files manifest, the maps proxy rewrites the layer format object to only include the first item in the
formats
array. However, this item may not necessarily be the preferred default format. This can cause an error likefeatures.featureCollection
not found when a layer supports multiple formats.Steps to reproduce:
map.proxyElasticMapsServiceInMaps: true
in kibana.ymlmap.emsFileApiUrl: https://storage.googleapis.com/elastic-ems-dev-feature-layers-vector
to kibana.ymlExpected behavior:
The proxied manifest should either include all available formats or a create a single item array with the default format rather than assume the first item in the array is the default.
The text was updated successfully, but these errors were encountered: