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

Avoid printing notify object in lang selector on error #8639

Merged
merged 1 commit into from
Nov 3, 2016

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Oct 12, 2016

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

screen shot 2016-10-12 at 11 31 26 am

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
Copy link
Contributor

@stacey-gammon stacey-gammon left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@Bargs
Copy link
Contributor Author

Bargs commented Oct 12, 2016

@thomasneirynck mind giving this a second look while you're in the scripted field area anyway?

@thomasneirynck
Copy link
Contributor

LGTM

@Bargs Bargs merged commit 653fbb5 into elastic:master Nov 3, 2016
elastic-jasper added a commit that referenced this pull request Nov 3, 2016
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 pushed a commit that referenced this pull request Nov 3, 2016
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
nreese pushed a commit to nreese/kibana that referenced this pull request Nov 10, 2016
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
@epixa epixa added v5.1.1 and removed v5.1.0 labels Dec 8, 2016
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants