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

[Maps] Proxied File Manifest can return incorrect format #71975

Closed
nickpeihl opened this issue Jul 15, 2020 · 1 comment · Fixed by #79760
Closed

[Maps] Proxied File Manifest can return incorrect format #71975

nickpeihl opened this issue Jul 15, 2020 · 1 comment · Fixed by #79760
Assignees
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

Comments

@nickpeihl
Copy link
Member

nickpeihl commented Jul 15, 2020

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 like features.featureCollection not found when a layer supports multiple formats.

Steps to reproduce:

  1. Enable map.proxyElasticMapsServiceInMaps: true in kibana.yml
  2. Add map.emsFileApiUrl: https://storage.googleapis.com/elastic-ems-dev-feature-layers-vector to kibana.yml
  3. Try to add the "Administrative Regions" layer to a new Map.

Expected 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.

@nickpeihl nickpeihl added 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 labels Jul 15, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

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 [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants