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

[APM]: Fix render error when license has not been loaded #54718

Merged
merged 1 commit into from Jan 14, 2020

Conversation

dgieselaar
Copy link
Member

In #53924, we chose to render the UI if the license has not been loaded to prevent a license prompt flash. However, that introduced a bug where certain components in certain situations errored out due to the license not being available. This PR addresses that issue by not stubbing parts of the license but just having a more explicit check on license?.isActive.

@dgieselaar dgieselaar added release_note:skip Skip the PR/issue when compiling release notes v7.6.0 labels Jan 14, 2020
@dgieselaar dgieselaar requested a review from a team as a code owner January 14, 2020 13:22
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

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

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@dgieselaar dgieselaar merged commit 8d57df0 into elastic:master Jan 14, 2020
@dgieselaar dgieselaar deleted the fix-license-check branch January 14, 2020 17:57
dgieselaar added a commit to dgieselaar/kibana that referenced this pull request Jan 14, 2020
@ogupte ogupte self-assigned this Jan 16, 2020
@ogupte ogupte added the apm:test-plan-done Pull request that was successfully tested during the test plan label Jan 16, 2020
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:test-plan-done Pull request that was successfully tested during the test plan release_note:skip Skip the PR/issue when compiling release notes v7.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants