Skip to content

[Telemetry] Fix license page crashing on telemetry.enabled: false#54174

Merged
Bamieh merged 2 commits intoelastic:masterfrom
Bamieh:telemetry/fix_license_ui_bug
Jan 8, 2020
Merged

[Telemetry] Fix license page crashing on telemetry.enabled: false#54174
Bamieh merged 2 commits intoelastic:masterfrom
Bamieh:telemetry/fix_license_ui_bug

Conversation

@Bamieh
Copy link
Copy Markdown
Contributor

@Bamieh Bamieh commented Jan 7, 2020

Summary

Fix the license page crashing if telemetry.enabled: false config is set in kibana.yml.

I've used NP to get the telemetryEnabled flag like we do elsewhere. I've tested all the different configs to make sure they are all working:

  • telemetry.enabled: false
  • telemetry.optIn: false
  • telemetry.optIn: true

closes #53779

@Bamieh Bamieh added Feature:Telemetry v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.6.0 7.5.2 labels Jan 7, 2020
@Bamieh Bamieh requested a review from a team January 7, 2020 18:35
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

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

Copy link
Copy Markdown
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

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

LGTM

@Bamieh Bamieh merged commit 392e62a into elastic:master Jan 8, 2020
@Bamieh Bamieh deleted the telemetry/fix_license_ui_bug branch January 8, 2020 11:31
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 8, 2020
* master:
  [Telemetry] Fix license page crashing on telemetry.enabled: fa… (elastic#54174)
mbondyra added a commit to mbondyra/kibana that referenced this pull request Jan 8, 2020
….com:mbondyra/kibana into IS-50036_show-sum-for-a-field-with-formatter

* 'IS-50036_show-sum-for-a-field-with-formatter' of github.com:mbondyra/kibana:
  [Telemetry] Fix license page crashing on telemetry.enabled: fa… (elastic#54174)
  [ui/public/utils] Copy rarely used items to where they are consumed (elastic#53819)
  set AppArch team as an owner of the search endpoints (elastic#54131)
  Don't expose Elasticsearch client as Observable (elastic#53824)
  [SIEM] Cleanup unnecessary use of enzyme-to-json (elastic#53980)
@timroes timroes added v7.5.2 and removed 7.5.2 labels Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Telemetry release_note:skip Skip the PR/issue when compiling release notes v7.5.2 v7.6.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If user sets telemetry.enabled: false license management UI is unavailable and cannot be accessed

4 participants