Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-59196

[UIPlugin UI] can't assign to property "kind"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.20.0
    • 4.18
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      The YAML editor component did not handle some edge cases where the content could not be parsed into a JavaScript object, which caused errors in some situations. The component was updated to handle these edge cases reliably and the errors no longer occur. (link:https://issues.redhat.com/browse/OCPBUGS-59196[OCPBUGS-59196])
      Show
      The YAML editor component did not handle some edge cases where the content could not be parsed into a JavaScript object, which caused errors in some situations. The component was updated to handle these edge cases reliably and the errors no longer occur. (link: https://issues.redhat.com/browse/OCPBUGS-59196 [ OCPBUGS-59196 ])
    • None
    • None
    • None
    • None

      Description of problem:

      When trying to Create UIPlugin with YAML view, when pasting contents and hitting enter fails with "TypeError".It shows 'Oh no! Something went wrong.' error on the page.

      How reproducible:

      COO >> Create UIPlugin >> YAML view >> try pasting few lines of contents and press enter.

       

      Version:

      4.18.17

      cluster-observability-operator.v1.2.0

       

      Additional info:

      TypeError
      Description:

      can't assign to property "kind" on "v@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:17813 R@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:12:14963 b@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:18776 i@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:17255 h@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:74002 div p@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:608007 b@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:608506 D@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:19582 11814/t.a@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:153 4488/t.default@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:21403 l@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:162604 d@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1272917 p@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1273185 _@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:4942 ne@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:10378 Suspense i@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:307514 section m@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:6:89302 div div t.a@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1257908 div div l@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:60:91322 c@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:6:253464 div c@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:6:23600 c@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1035425 q<@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:276225 R@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:12:14963 main div b@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:60:167797 div div l@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:6:309086 div div l@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:60:91322 c@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:6:253464 div c@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:6:23600 Fn@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:1:135540 t.default@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:741179 5554/t.default@https://console-openshift-console.apps.ocp418.example.com/static/quick-start-chunk-46b5dec285b9cb0a30d1.min.js:1:1251 l@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:162604 t.a@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1338308 se@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1362668 gt@https://console-openshift-console.apps.ocp418.example.com/static/vendor-patternfly-5~main-chunk-ed3a29bc84f23becabaa.min.js:1:93349 se@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1362668 se@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1362668 o@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:678827 t.a@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1330568 t.a@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1328019 ce@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1362804 ue@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1365766 _@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:4942 ne@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:10378 _@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:4942 ne@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:10378 te@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:23:9856 G@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:12:11634 t@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:12:21998 de@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:1366028 t.a@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:649619 t.a@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:967348 l@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:494657 2376/t.a@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:12:31087 Suspense": not an object
      Component trace:

      v@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:17813
      R@https://console-openshift-console.apps.ocp418.example.com/static/vendor-plugins-shared~main-chunk-be518d5a63ab052e5956.min.js:12:14963
      b@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:18776
      i@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:17255
      h@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:74002
      div
      p@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:608007
      b@https://console-openshift-console.apps.ocp418.example.com/static/main-chunk-02d0e6f3ae4bb434eb40.min.js:1:608506
      D@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:19582
      11814/t.a@https://console-openshift-console.apps.ocp418.example.com/static/create-operand-chunk-3bdf057ebf111b429bf7.min.js:1:153

              rh-ee-jonjacks Jon Jackson
              rhn-support-dgupte Dhananjay Gupte
              None
              None
              Yanping Zhang Yanping Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: