Skip to content

Saved Objects config type export broken on master #59349

@majagrubic

Description

@majagrubic

Kibana version: Master

Elasticsearch version: Snapshot

Server OS version: Mac OS 10.14.5

Browser version: Chrome 80.0

Browser OS version: Mac OS 10.14.5

Original install method (e.g. download page, yum, from source, etc.):

Describe the bug:
Saved Objects Export fails with status 400.

{"statusCode":400,"error":"Bad Request","message":"[request body.type]: types that failed validation:\n- [request body.type.0]: expected value of type [string] but got [Array]\n- [request body.type.1.6]: config is not exportable"}

Steps to reproduce:
0. Add Kibana Sample Data

  1. Go to Kibana Management Console > Saved Objects
  2. In the header of Saved Objects table, select "Export 54 Objects" (there should be 54 from the sample data)
  3. Click Export All
  4. Error message is displayed

Expected behavior:
.ndjson file is generated and ready for download.

Screenshots (if relevant):
Screenshot 2020-03-04 at 18 01 56

Errors in browser console (if relevant):
Response:

{"statusCode":400,"error":"Bad Request","message":"[request body.type]: types that failed validation:\n- [request body.type.0]: expected value of type [string] but got [Array]\n- [request body.type.1.6]: config is not exportable"}

Provide logs and/or server output (if relevant):
I don't see anything weird in the server log.

Any additional context:
Selecting individual objects and exporting them succeeds.
Screenshot 2020-03-04 at 18 00 43

This works fine on 7.6.0 so must have been recently introduced.

Metadata

Metadata

Assignees

Labels

Feature:Kibana ManagementFeature label for Data Views, Advanced Setting, Saved Object management pagesTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//blockerbugFixes for quality problems that affect the customer experiencev7.7.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions