kibana/test/api_integration/apis/data_views/fields_api
Matthew Kime 803d139adc
[data views] Fix overwrite param for create (#160953)
## Summary

Under some circumstances passing `override` to `POST
/api/data_views/data_view` would fail. Its now fixed.

To test - Try using the override param from the Kibana dev console. I
found it reproduced the problem before the fix and shows its resolved
after the fix. The problem did not appear in the integration tests.

I suspect the problem had to do with how quickly the delete was
performed - if it completed before the create command then everything
was fine. If it didn't then the error would appear. Passing the
overwrite param to the saved object client eliminates the possibility of
the delete failing to complete.

Closes https://github.com/elastic/kibana/issues/161016
2023-07-04 15:35:40 -05:00
..
update_fields [data views] Fix overwrite param for create (#160953) 2023-07-04 15:35:40 -05:00
index.ts [data views] Allow data view rename via rest api (#141869) 2022-09-27 06:56:46 -05:00