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

Set configurable to true so AggConfig decorated properties can be deleted #14569

Merged
merged 2 commits into from
Oct 25, 2017

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Oct 25, 2017

fixes #14457

https://stackoverflow.com/a/25518028/890809, a property created with Object.defineProperty() can only be deleted when configurable: true. Otherwise an exception is thrown

@nreese nreese added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:fix v6.0.0 v6.1.0 v7.0.0 labels Oct 25, 2017
Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

LGTM

@nreese nreese merged commit 6d01b35 into elastic:master Oct 25, 2017
nreese added a commit to nreese/kibana that referenced this pull request Oct 25, 2017
…eted (elastic#14569)

* make decorated property configurable so it can be deleted

* same for histogram aggregation
nreese added a commit that referenced this pull request Oct 25, 2017
…eted (#14569)

* make decorated property configurable so it can be deleted

* same for histogram aggregation
nreese added a commit that referenced this pull request Oct 26, 2017
…eted (#14569) (#14571)

* make decorated property configurable so it can be deleted

* same for histogram aggregation
chrisronline pushed a commit to chrisronline/kibana that referenced this pull request Nov 20, 2017
…eted (elastic#14569)

* make decorated property configurable so it can be deleted

* same for histogram aggregation
chrisronline pushed a commit to chrisronline/kibana that referenced this pull request Dec 1, 2017
…eted (elastic#14569)

* make decorated property configurable so it can be deleted

* same for histogram aggregation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:fix v6.0.0 v6.1.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bar chart crashes after changing options
3 participants