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

[5.x] Avoid printing notify object in lang selector on error #8960

Merged
merged 1 commit into from
Nov 3, 2016

Conversation

elastic-jasper
Copy link
Contributor

Avoid printing notify object in lang selector on error

Backports PR #8639

Commit 1:
Avoid printing notify object in lang selector on error

When ES is unavailable and we can't get the list of enabled scripting
langs we display a notification to the user. We were also accidentally
returning that notification object from the service method and
displaying its toString representation in the language select drop down.
Now we simplay return an empty array so the dropdown is rendered without
options.

Fixes #8636

Backports PR #8639

**Commit 1:**
Avoid printing notify object in lang selector on error

When ES is unavailable and we can't get the list of enabled scripting
langs we display a notification to the user. We were also accidentally
returning that notification object from the service method and
displaying its toString representation in the language select drop down.
Now we simplay return an empty array so the dropdown is rendered without
options.

Fixes #8636

* Original sha: 051c554
* Authored by Matthew Bargar <[email protected]> on 2016-10-12T15:25:15Z
@Bargs Bargs merged commit 6ddafd2 into 5.x Nov 3, 2016
@epixa epixa deleted the jasper/backport/8639/5.x branch November 15, 2016 00:41
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Backports PR elastic#8639

**Commit 1:**
Avoid printing notify object in lang selector on error

When ES is unavailable and we can't get the list of enabled scripting
langs we display a notification to the user. We were also accidentally
returning that notification object from the service method and
displaying its toString representation in the language select drop down.
Now we simplay return an empty array so the dropdown is rendered without
options.

Fixes elastic#8636

* Original sha: 051c554
* Authored by Matthew Bargar <[email protected]> on 2016-10-12T15:25:15Z

Former-commit-id: 6ddafd2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants