kibana/test
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
..
accessibility [Dashboard Usability] Unified dashboard settings (#153862) 2023-03-31 09:52:51 -04:00
analytics [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
api_integration [8.8] Fix issue with single value for metaFields advanced setting (#155811) (#156078) 2023-04-27 13:21:37 -07:00
common [Shared UX] Adoption of Shared UX Route component (#150357) 2023-02-14 19:25:04 +00:00
examples [CM] Onboard maps to cross-type search (#155148) 2023-04-21 07:41:08 -07:00
functional [failed test reporter] no github issues for WebDriver invalid session id (#155707) 2023-04-25 17:06:34 +02:00
harden Add test to ensure security related eslint rules are applied (#151434) 2023-02-24 16:48:11 +01:00
health_gateway [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
interactive_setup_api_integration [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
interactive_setup_functional Move real plugins out of 'fixtures' dirs (#148756) 2023-01-12 12:38:49 -07:00
interpreter_functional [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
node_roles_functional [Migrations] Add migrator node role (#151978) 2023-02-27 06:49:31 -07:00
package Adds base implementation of the Kibana Health Gateway. (#141172) 2022-11-07 09:14:42 -07:00
plugin_functional [Dashboard] fix custom time ranges not applied to panel until global query context changes (#155458) 2023-04-26 07:02:59 -06:00
scripts [Security Solution] Side navigation package (#152924) 2023-03-10 18:14:56 +01:00
server_integration [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
ui_capabilities/newsfeed_err [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
tsconfig.json Split the .kibana saved objects index into multiple indices (#154888) 2023-04-25 09:43:42 +02:00