kibana/test/api_integration
Kibana Machine 1d1b4dfbba
[8.8] Fix issue with single value for metaFields advanced setting (#155811) (#156078)
# Backport

This will backport the following commits from `main` to `8.8`:
- [Fix issue with single value for metaFields advanced setting
(#155811)](https://github.com/elastic/kibana/pull/155811)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lukas
Olson","email":"lukas@elastic.co"},"sourceCommit":{"committedDate":"2023-04-27T18:30:29Z","message":"Fix
issue with single value for metaFields advanced setting (#155811)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/94356.\r\n\r\nFixes an issue
with the _fields_for_wildcard API when the value for\r\n`metaFields`
advanced setting is set to a single value (e.g. `_source`).\r\n\r\n###
Checklist\r\n\r\n- [
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### Release
note\r\n\r\nFixes an issue where having a single value for the advanced
setting\r\n`metaFields` would prevent refreshing a data
view.","sha":"f1360f2e4afabaf915f9ebb2551fab3b39eeb745","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Data
Views","Team:DataDiscovery","v8.8.0","v8.9.0"],"number":155811,"url":"https://github.com/elastic/kibana/pull/155811","mergeCommit":{"message":"Fix
issue with single value for metaFields advanced setting (#155811)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/94356.\r\n\r\nFixes an issue
with the _fields_for_wildcard API when the value for\r\n`metaFields`
advanced setting is set to a single value (e.g. `_source`).\r\n\r\n###
Checklist\r\n\r\n- [
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### Release
note\r\n\r\nFixes an issue where having a single value for the advanced
setting\r\n`metaFields` would prevent refreshing a data
view.","sha":"f1360f2e4afabaf915f9ebb2551fab3b39eeb745"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155811","number":155811,"mergeCommit":{"message":"Fix
issue with single value for metaFields advanced setting (#155811)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/94356.\r\n\r\nFixes an issue
with the _fields_for_wildcard API when the value for\r\n`metaFields`
advanced setting is set to a single value (e.g. `_source`).\r\n\r\n###
Checklist\r\n\r\n- [
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### Release
note\r\n\r\nFixes an issue where having a single value for the advanced
setting\r\n`metaFields` would prevent refreshing a data
view.","sha":"f1360f2e4afabaf915f9ebb2551fab3b39eeb745"}}]}] BACKPORT-->

Co-authored-by: Lukas Olson <lukas@elastic.co>
2023-04-27 13:21:37 -07:00
..
apis [8.8] Fix issue with single value for metaFields advanced setting (#155811) (#156078) 2023-04-27 13:21:37 -07:00
fixtures [Security Solution] Remove index false from artifact saved objects mappings (#155204) 2023-04-25 09:31:57 -04:00
services fix all violations 2022-04-16 01:37:30 -05:00
config.js Support brotli compression on the server side (#142334) 2022-10-24 15:33:21 +02:00
ftr_provider_context.d.ts [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
jest.config.js [Telemetry] Full schema definition (#90273) 2021-03-01 18:30:51 +00:00