Skip to content

[8.18] only transform legend if present (#213814)#213838

Merged
kibanamachine merged 1 commit intoelastic:8.18from
kibanamachine:backport/8.18/pr-213814
Mar 10, 2025
Merged

[8.18] only transform legend if present (#213814)#213838
kibanamachine merged 1 commit intoelastic:8.18from
kibanamachine:backport/8.18/pr-213814

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

The inventory_view saved object allows the legend attribute to be
optional and limits and/or sets the number of steps during an upgrade
between model version 1 and 2. The transform function needs to handle
cases where legend is not set to prevent migration failures.

Related to elastic#207007

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 85baab2)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 10, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 10, 2025 22:09
@kibanamachine kibanamachine merged commit fb7e387 into elastic:8.18 Mar 10, 2025
11 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @TinaHeiligers

kibanamachine added a commit that referenced this pull request Mar 13, 2025
# Backport

This will backport the following commits from `main` to `8.17`:
- [only transform legend if present
(#213814)](#213814)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Christiane (Tina)
Heiligers","email":"christiane.heiligers@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T22:03:56Z","message":"only
transform legend if present (#213814)\n\nThe inventory_view saved object
allows the legend attribute to be\noptional and limits and/or sets the
number of steps during an upgrade\nbetween model version 1 and 2. The
transform function needs to handle\ncases where legend is not set to
prevent migration failures.\n\nRelated to
https://github.com/elastic/kibana/pull/207007\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"85baab2431bea918a68d752ec912b792ee93e00f","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.17.0","v8.18.0","backport:8.17","v9.1.0","v8.19.0"],"title":"only
transform legend if
present","number":213814,"url":"https://github.com/elastic/kibana/pull/213814","mergeCommit":{"message":"only
transform legend if present (#213814)\n\nThe inventory_view saved object
allows the legend attribute to be\noptional and limits and/or sets the
number of steps during an upgrade\nbetween model version 1 and 2. The
transform function needs to handle\ncases where legend is not set to
prevent migration failures.\n\nRelated to
https://github.com/elastic/kibana/pull/207007\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"85baab2431bea918a68d752ec912b792ee93e00f"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213840","number":213840,"state":"MERGED","mergeCommit":{"sha":"755e23ac6765e64ce9f68ccfdad5ef4eb394467f","message":"[9.0]
only transform legend if present (#213814) (#213840)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.0`:\n- [only transform legend if
present\n(#213814)](https://github.com/elastic/kibana/pull/213814)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Christiane (Tina) Heiligers
<christiane.heiligers@elastic.co>"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213838","number":213838,"state":"MERGED","mergeCommit":{"sha":"fb7e387a319929eeeafc8b394355c76aad168329","message":"[8.18]
only transform legend if present (#213814) (#213838)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.18`:\n- [only transform legend if
present\n(#213814)](https://github.com/elastic/kibana/pull/213814)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Christiane (Tina) Heiligers
<christiane.heiligers@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213814","number":213814,"mergeCommit":{"message":"only
transform legend if present (#213814)\n\nThe inventory_view saved object
allows the legend attribute to be\noptional and limits and/or sets the
number of steps during an upgrade\nbetween model version 1 and 2. The
transform function needs to handle\ncases where legend is not set to
prevent migration failures.\n\nRelated to
https://github.com/elastic/kibana/pull/207007\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"85baab2431bea918a68d752ec912b792ee93e00f"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213839","number":213839,"state":"MERGED","mergeCommit":{"sha":"d7675f0b32ecfca0a01b10a9779ae492f1e652db","message":"[8.x]
only transform legend if present (#213814) (#213839)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [only transform legend if
present\n(#213814)](https://github.com/elastic/kibana/pull/213814)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>"}}]}]
BACKPORT-->

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants