-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Invalid searchSourceJSON
causes saved object migration to fail
#78530
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Discover
Discover Application
Feature:Saved Objects
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Comments
rudolf
added
bug
Fixes for quality problems that affect the customer experience
Feature:Discover
Discover Application
Feature:Saved Objects
Team:AppArch
labels
Sep 25, 2020
Pinging @elastic/kibana-app-arch (Team:AppArch) |
flash1293
added
:KibanaApp/fix-it-week
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
and removed
Team:AppArch
labels
Sep 25, 2020
7 tasks
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Sep 25, 2020
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Sep 28, 2020
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Sep 30, 2020
alexwizp
added a commit
that referenced
this issue
Sep 30, 2020
) * Invalid `searchSourceJSON` causes saved object migration to fail Closes: #78530 * 7.8.2 -> 7.9.3 * return migration into 6.7.2
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Sep 30, 2020
…stic#78535) * Invalid `searchSourceJSON` causes saved object migration to fail Closes: elastic#78530 * 7.8.2 -> 7.9.3 * return migration into 6.7.2
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Sep 30, 2020
…stic#78535) * Invalid `searchSourceJSON` causes saved object migration to fail Closes: elastic#78530 * 7.8.2 -> 7.9.3 * return migration into 6.7.2 # Conflicts: # src/plugins/visualizations/server/saved_objects/visualization_migrations.ts
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
Feature:Discover
Discover Application
Feature:Saved Objects
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Discover's
migrateMatchAllQuery
ignores JSON.parse exceptions onsearchSourceJSON
but then in line 36 tries to accesssearchSource.query
kibana/src/plugins/discover/server/saved_objects/search_migrations.ts
Lines 30 to 36 in 68ebd04
It seems like the intended behaviour is to ignore the JSON parse exception, but instead migrations fail without a useful error message.
The text was updated successfully, but these errors were encountered: