Migration of dashboard fails due to missing panelIndex property #44639
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Dashboard
Dashboard related features
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version:
7.3.1
Elasticsearch version:
7.3.1
Original install method (e.g. download page, yum, from source, etc.):
docker
Describe the bug:
When migrating a dashboard like the following in it's 6.8 version to 7.3.1
the migration fails due to the missing
panelIndex
in thepanelsJSON
arrayhere's the relevant error in the log:
This error is caught, but then the migration process tries to insert the unchanged document, which leads to the following error
Error: mapping set to strict, dynamic introduction of [uiStateJSON] within [dashboard] is not allowed
A successful migration would have removed that property, but now migration is failing due to the strict mapping restriction.
The text was updated successfully, but these errors were encountered: