Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use management.getTitle for import summary #87285

Merged

Conversation

pgayvallet
Copy link
Contributor

@pgayvallet pgayvallet commented Jan 5, 2021

Summary

Fix #87235

Retrieve the imported object titles using management.getTitle from the SO type meta instead of just accessing attributes.title

Checklist

@pgayvallet pgayvallet added release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.12.0 v8.0.0 labels Jan 5, 2021
@pgayvallet pgayvallet marked this pull request as ready for review January 5, 2021 13:56
@pgayvallet pgayvallet requested a review from a team as a code owner January 5, 2021 13:56
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@@ -443,6 +444,7 @@ describe('#importSavedObjectsFromStream', () => {
});

test('handles a mix of successes and errors and injects metadata', async () => {
// TODO
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: The TODO might be easier to tackle if we give a brief description on what remains to be done in this test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woups, that's the bookmark I use to keep track of where I am when taking a break 😅 . Will remove it

Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Distributable file count

id before after diff
default 47262 48025 +763

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pgayvallet pgayvallet merged commit 65acd6d into elastic:master Jan 6, 2021
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Jan 6, 2021
* fix import summary title

* remove TODO
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Jan 6, 2021
* fix import summary title

* remove TODO
pgayvallet added a commit that referenced this pull request Jan 6, 2021
* fix import summary title

* remove TODO
pgayvallet added a commit that referenced this pull request Jan 6, 2021
* fix import summary title

* remove TODO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.11.1 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display tag name instead of id while importing it
4 participants