-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:VegaVega visualizationsVega visualizationsTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience
Description
Kibana version: 6.8.13->7.10.0/7.93
Elasticsearch version: 6.8.13->7.10.0/7.93
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: If user exports vega viz saved object from 6.8.13 - and imports to 7.10.0(same bug in 7.9.3) - Kibana displays error on the filter.
Steps to reproduce:
- Create a vega viz with filter in 6.8.13 ( I used logstash data from load sample data tutorial- https://www.elastic.co/guide/en/kibana/6.8/tutorial-load-dataset.html)
- Export the json containing it
- Load logstash data in 7.10.0(https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html#tutorial-load-dataset) Import the json in 7.10.0 - associate the saved objects with the correct index patterns
- Open the logstash dashboard or vega viz in visualize - kibana displays error on filter
- Click on relationship on vega viz in saved objects table - Kibana displays "error undefined response)
Errors in browser console (if relevant):
Uncaught Error: Could not locate that index-pattern (id: 63b00720-1dec-11eb-bd9c-25dc87804ac7), [click here to re-create it](management/kibana/indexPatterns)
at IndexPattern._callee2$ (:5601/34038/bundles/plugin/data/data.plugin.js:14)
at l (:5601/34038/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368)
at Generator._invoke (:5601/34038/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368)
at Generator.forEach.e.<computed> [as next] (:5601/34038/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368)
at asyncGeneratorStep (:5601/34038/bundles/plugin/data/data.plugin.js:14)
at _next (:5601/34038/bundles/plugin/data/data.plugin.js:14)
at :5601/34038/bundles/plugin/data/data.plugin.js:14
at new Promise (<anonymous>)
at IndexPattern.<anonymous> (:5601/34038/bundles/plugin/data/data.plugin.js:14)
at IndexPattern.updateFromElasticSearch (:5601/34038/bundles/plugin/data/data.plugin.js:14)
On saved objects table:
core.entry.js:34 GET http://localhost:5601/s/space_a/api/kibana/management/saved_objects/relationships/visualization/9d193fc0-1e1b-11eb-bd9c-25dc87804ac7?savedObjectTypes=config&savedObjectTypes=url&savedObjectTypes=index-pattern&savedObjectTypes=query&savedObjectTypes=visualization&savedObjectTypes=map&savedObjectTypes=canvas-element&savedObjectTypes=canvas-workpad&savedObjectTypes=canvas-workpad-template&savedObjectTypes=dashboard&savedObjectTypes=lens&savedObjectTypes=search&savedObjectTypes=infrastructure-ui-source&savedObjectTypes=metrics-explorer-view&savedObjectTypes=inventory-view 500 (Internal Server Error)
_callee3$ @ core.entry.js:34
l @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
forEach.e.<computed> @ kbn-ui-shared-deps.js:368
fetch_asyncGeneratorStep @ core.entry.js:34
_next @ core.entry.js:34
(anonymous) @ core.entry.js:34
(anonymous) @ core.entry.js:34
fetchResponse @ core.entry.js:34
_callee$ @ core.entry.js:34
l @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
forEach.e.<computed> @ kbn-ui-shared-deps.js:368
fetch_asyncGeneratorStep @ core.entry.js:34
_next @ core.entry.js:34
Promise.then (async)
fetch_asyncGeneratorStep @ core.entry.js:34
_next @ core.entry.js:34
(anonymous) @ core.entry.js:34
(anonymous) @ core.entry.js:34
(anonymous) @ core.entry.js:34
_callee2$ @ core.entry.js:34
l @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
forEach.e.<computed> @ kbn-ui-shared-deps.js:368
fetch_asyncGeneratorStep @ core.entry.js:34
_next @ core.entry.js:34
(anonymous) @ core.entry.js:34
(anonymous) @ core.entry.js:34
(anonymous) @ core.entry.js:34
(anonymous) @ core.entry.js:34
_callee$ @ savedObjectsManagement.plugin.js:9
l @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
forEach.e.<computed> @ kbn-ui-shared-deps.js:368
get_relationships_asyncGeneratorStep @ savedObjectsManagement.plugin.js:9
_next @ savedObjectsManagement.plugin.js:9
(anonymous) @ savedObjectsManagement.plugin.js:9
(anonymous) @ savedObjectsManagement.plugin.js:9
_getRelationships @ savedObjectsManagement.plugin.js:9
getRelationships @ savedObjectsManagement.plugin.js:9
_callee8$ @ 2.plugin.js:2
l @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
forEach.e.<computed> @ kbn-ui-shared-deps.js:368
saved_objects_table_asyncGeneratorStep @ 2.plugin.js:2
_next @ 2.plugin.js:2
(anonymous) @ 2.plugin.js:2
(anonymous) @ 2.plugin.js:2
(anonymous) @ 2.plugin.js:2
_callee$ @ 2.plugin.js:2
l @ kbn-ui-shared-deps.js:368
(anonymous) @ kbn-ui-shared-deps.js:368
forEach.e.<computed> @ kbn-ui-shared-deps.js:368
relationships_asyncGeneratorStep @ 2.plugin.js:2
_next @ 2.plugin.js:2
(anonymous) @ 2.plugin.js:2
(anonymous) @ 2.plugin.js:2
getRelationshipData @ 2.plugin.js:2
UNSAFE_componentWillMount @ 2.plugin.js:2
Lo @ kbn-ui-shared-deps.js:422
Ga @ kbn-ui-shared-deps.js:422
xs @ kbn-ui-shared-deps.js:422
ml @ kbn-ui-shared-deps.js:422
hl @ kbn-ui-shared-deps.js:422
ol @ kbn-ui-shared-deps.js:422
(anonymous) @ kbn-ui-shared-deps.js:422
t.unstable_runWithPriority @ kbn-ui-shared-deps.js:430
Hi @ kbn-ui-shared-deps.js:422
Gi @ kbn-ui-shared-deps.js:422
Yi @ kbn-ui-shared-deps.js:422
se @ kbn-ui-shared-deps.js:422
An @ kbn-ui-shared-deps.js:422
Show 42 more frames
Metadata
Metadata
Assignees
Labels
Feature:VegaVega visualizationsVega visualizationsTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience


