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

Fix invalid version check logging for the legacy plugins #54690

Merged
merged 3 commits into from
Jan 14, 2020

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Jan 14, 2020

Summary

Closes #50785

Turned out that settings doesn't provide pkg anymore, so Kibana crashes when logging a warning message.
A proper testing requires a lot of code, so I haven't added one. This code is going to be removed soon.
How to test is described in the parent issue

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@mshustov mshustov added chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes v7.6.0 labels Jan 14, 2020
@mshustov mshustov requested a review from a team as a code owner January 14, 2020 08:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Copy link
Contributor

@rudolf rudolf left a comment

Choose a reason for hiding this comment

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

Tested that it works on 8.0.0 👍

@mshustov
Copy link
Contributor Author

@elasticmachine merge upstream

@mshustov mshustov force-pushed the issue-50785-lp-version-bug branch from db03753 to d2f1ecb Compare January 14, 2020 10:42
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

  • 💔 Build #20056 failed db037539e41fab50ff8ab617aaaa76b5cc203fa4

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

@mshustov mshustov merged commit ca6beec into elastic:master Jan 14, 2020
@mshustov mshustov deleted the issue-50785-lp-version-bug branch January 14, 2020 12:16
mshustov added a commit to mshustov/kibana that referenced this pull request Jan 14, 2020
* use NP env to retrieve kibana version. settings has none

* update tests
@mshustov mshustov added v7.5.2 and removed v7.5.2 labels Jan 14, 2020
mshustov added a commit that referenced this pull request Jan 14, 2020
…4708)

* use NP env to retrieve kibana version. settings has none

* update tests
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
* use NP env to retrieve kibana version. settings has none

* update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:New Platform 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.5.2 v7.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid version check doesn't work for Legacy plugins
4 participants