chaos-mesh icon indicating copy to clipboard operation
chaos-mesh copied to clipboard

[Bug] 🐛 "Load From" existing experiment feature doesn't work as expected

Open pcgeek86 opened this issue 1 year ago • 0 comments

Bug Report

What version of Kubernetes are you using? Linode Kubernetes Engine (LKE) 1.23.6

What version of Chaos Mesh are you using?

What did you do?

  • Create Chaos Experiment (see YAML below)
  • Create new Chaos Experiment
  • Choose the Load From option
  • ERROR: White screen appears with JavaScript errors in the browser console
kind: StressChaos
apiVersion: chaos-mesh.org/v1alpha1
metadata:
  namespace: default
  name: cpu01
spec:
  selector:
    namespaces:
      - default
  mode: all
  stressors:
    cpu:
      workers: 1
  duration: 30s

What did you expect to see?

Feature works as expected.

What did you see instead?

White screen appears with JavaScript errors in the browser console

image

Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture [ace.js:2207:37](http://localhost:30075/node_modules/ace-builds/src-noconflict/ace.js)
Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture [ace.js:2271:42](http://localhost:30075/node_modules/ace-builds/src-noconflict/ace.js)
Empty string passed to getElementById(). 3 [useAutocomplete.js:274:23](http://localhost:30075/node_modules/@mui/base/AutocompleteUnstyled/useAutocomplete.js)
TypeError: Ae is undefined
    h useAutocomplete.js:913
    G Autocomplete.js:438
    React 8
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    v index.tsx:79
    onChange index.tsx:131
[react-dom.production.min.js:216:199](http://localhost:30075/node_modules/react-dom/cjs/react-dom.production.min.js)
TypeError: Ae is undefined
    h useAutocomplete.js:913
    G Autocomplete.js:438
    React 8
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    v index.tsx:79
    onChange index.tsx:131
[react-dom.production.min.js:216:199](http://localhost:30075/node_modules/react-dom/cjs/react-dom.production.min.js)
TypeError: Ae is undefined
    h useAutocomplete.js:913
    G Autocomplete.js:438
    React 8
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    v index.tsx:79
    onChange index.tsx:131

Output of chaosctl

pcgeek86 avatar Aug 16 '22 07:08 pcgeek86