kibana/x-pack/plugins/file_upload
Kibana Machine 1adab28560
[8.6] [maps] Fix uploading FeatureCollection as feature when file contains single Feature (#147207) (#147556)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[maps] Fix uploading FeatureCollection as feature when file contains
single Feature (#147207)](https://github.com/elastic/kibana/pull/147207)

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

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

<!--BACKPORT [{"author":{"name":"Nathan
Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2022-12-14T17:08:00Z","message":"[maps]
Fix uploading FeatureCollection as feature when file contains single
Feature (#147207)\n\nFixes
https://github.com/elastic/kibana/issues/146417\r\n\r\nPR resolves edge
case where when uploading a file containing a\r\nFeatureCollection with
a single feature, the results incorrectly state\r\nthat 2 features where
indexed with one failing.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"58c11ed59cf73683cd4b3c2bfbfc1623df399705","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","backport:prev-minor","Feature:Maps","v8.7.0"],"number":147207,"url":"https://github.com/elastic/kibana/pull/147207","mergeCommit":{"message":"[maps]
Fix uploading FeatureCollection as feature when file contains single
Feature (#147207)\n\nFixes
https://github.com/elastic/kibana/issues/146417\r\n\r\nPR resolves edge
case where when uploading a file containing a\r\nFeatureCollection with
a single feature, the results incorrectly state\r\nthat 2 features where
indexed with one failing.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"58c11ed59cf73683cd4b3c2bfbfc1623df399705"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147207","number":147207,"mergeCommit":{"message":"[maps]
Fix uploading FeatureCollection as feature when file contains single
Feature (#147207)\n\nFixes
https://github.com/elastic/kibana/issues/146417\r\n\r\nPR resolves edge
case where when uploading a file containing a\r\nFeatureCollection with
a single feature, the results incorrectly state\r\nthat 2 features where
indexed with one failing.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"58c11ed59cf73683cd4b3c2bfbfc1623df399705"}}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
2022-12-14 11:11:03 -07:00
..
common [ML] @kbn/ml-agg-utils, @kbn/ml-is-populated-object, @kbn/ml-string-hash packages. (#132963) 2022-06-23 10:38:23 +02:00
public [8.6] [maps] Fix uploading FeatureCollection as feature when file contains single Feature (#147207) (#147556) 2022-12-14 11:11:03 -07:00
server [File data visualizer] Adding ecs_compatibility setting for find structure calls (#139708) 2022-08-31 09:07:07 +01:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.json chore(NA): bump version to 8.2.0 (#124409) 2022-02-02 23:21:59 +00:00
tsconfig.json [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00