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

Putting a wrong watch can hang the Watcher UI #60128

Closed
spinscale opened this issue Mar 13, 2020 · 2 comments · Fixed by #60169
Closed

Putting a wrong watch can hang the Watcher UI #60128

spinscale opened this issue Mar 13, 2020 · 2 comments · Fixed by #60169
Labels
bug Fixes for quality problems that affect the customer experience Feature:Watcher Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@spinscale
Copy link
Contributor

Kibana version: 7.6.1
Elasticsearch version: 7.6.1
Server OS version: osx
Browser version: brave
Browser OS version: osx
Original install method (e.g. download page, yum, from source, etc.): download tar.gz

Description of the problem including expected versus actual behavior:

Steps to reproduce:

  1. Go to Management > Elasticsearch > Watcher
  2. Create new advanced watch
  3. Copy this snippet into the textbox
{
  "trigger": {
    "schedule": {
      "interval": "5m"
    }
  },
  "input": {
    "simple": {
      "foo": "bar"
    }
  },
  "actions": {
    "log": {
      "logging": {
        "text": {
          "inline": ""
        }
      }
    }
  }
}
  1. Click create watch and wait for eternity

Errors in browser console (if relevant):

Detected an unhandled Promise rejection.
TypeError: Cannot read property 'data' of undefined
51.bundle.js:3 Uncaught (in promise) TypeError: Cannot read property 'data' of undefined
    at saveWatch$ (51.bundle.js:3)
    at s (kbn-ui-shared-deps.js:338)
    at Generator._invoke (kbn-ui-shared-deps.js:338)
    at Generator.forEach.e.<computed> [as throw] (kbn-ui-shared-deps.js:338)
    at s (kbn-ui-shared-deps.js:338)
    at t (kbn-ui-shared-deps.js:338)
    at kbn-ui-shared-deps.js:338

Animated GIF of the issue...

ezgif-2-f1386c9b2c56

@cjcenizal
Copy link
Contributor

Thanks @spinscale! I was able to verify this on master.

@cjcenizal cjcenizal added bug Fixes for quality problems that affect the customer experience Feature:Watcher Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Mar 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

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:Watcher Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants