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

Embeddable has been destroyed error happened after interacting with the Embeddable #137958

Closed
angorayc opened this issue Aug 3, 2022 · 2 comments · Fixed by #138368
Closed

Embeddable has been destroyed error happened after interacting with the Embeddable #137958

angorayc opened this issue Aug 3, 2022 · 2 comments · Fixed by #138368
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@angorayc
Copy link
Contributor

angorayc commented Aug 3, 2022

Found an error Embeddable has been destroyed when rendering with LensEmbeddable

Screen.Recording.2022-08-02.at.16.53.58.mov

Steps to reproduce
In #137882 security solution > explore > hosts > all hosts
case 1:
update the global timerange
case 2:
brush on of the area charts to update the timerange

How to add data to security solution: (can run a local ES and skip step 3)
https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-installation-configuration.html

example auditbeat.yml


# =========================== Modules configuration ============================
auditbeat.modules:

- module: file_integrity
  paths:
  - /bin
  - /usr/bin
  - /usr/local/bin
  - /sbin
  - /usr/sbin
  - /usr/local/sbin

- module: system
  datasets:
    - package # Installed, updated, and removed packages

  period: 2m # The frequency at which the datasets check for changes

- module: system
  datasets:
    - host    # General host information, e.g. uptime, IPs
    - process # Started and stopped processes

  # How often datasets send state updates with the
  # current state of the system (e.g. all currently
  # running processes, all open sockets).
  state.period: 12h

# ======================= Elasticsearch template setting =======================
setup.template.settings:
  index.number_of_shards: 1
  #index.codec: best_compression
  #_source.enabled: false

# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["localhost:9200"]

  # Protocol - either `http` (default) or `https`.
  # protocol: "https"

  # Authentication credentials - either API key or username/password.
  username: "{YOUR_USERNAME}"
  password: "{YOUR_PASSOWRD}"
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 3, 2022
@angorayc angorayc added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Aug 3, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 3, 2022
@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Aug 3, 2022
@flash1293 flash1293 self-assigned this Aug 3, 2022
@flash1293
Copy link
Contributor

Calling super.destroy in

is triggering another render in some cases. To avoid this, this.isDestroyed should be set before calling super.destroy()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants