Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-5181

"Cannot create property 'kind' on string" when creating YAML from Console

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • OADP 1.6.0
    • OADP 1.4.1
    • OADP
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • None

      Attempting to create a Backup or Restore from the OADP Operator Console via YAML, an error "Oh no! Something went wrong." message will appear when deleting the YAML and inputting any text.

      To recreate the issue, go into the OADP Operator in the Console, select Backup or Restore and create a new Backup/Restore, then select YAML. Select all of the YAML and then delete it. Start typing (or paste) text and the "Oh no! Something went wrong." error will immediately appear. When selection "Show details", we are presented this the component trace and stack trace:

      Component trace:

      at v (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:17714)
          at R (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:12:14964)
          at b (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:18768)
          at i (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:17266)
          at h (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:73747)
          at div
          at k (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:121252)
          at w (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:121700)
          at D (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:19585)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:172)
          at t.default (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:21386)
          at l (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:153355)
          at d (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1308842)
          at p (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1309105)
          at _ (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:4920)
          at ne (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:10364)
          at Suspense
          at i (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:309578)
          at section
          at m (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:6:112969)
          at div
          at div
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1293837)
          at div
          at div
          at l (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:60:99893)
          at c (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:6:292845)
          at div
          at c (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:6:22916)
          at c (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1065458)
          at https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:275883
          at R (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:12:14964)
          at main
          at div
          at b (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:60:187447)
          at div
          at div
          at l (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:6:354019)
          at div
          at div
          at l (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:60:99893)
          at c (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:6:292845)
          at div
          at c (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:6:22916)
          at zn (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:1:140700)
          at t.default (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:715003)
          at t.default (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/quick-start-chunk-4a36f253847185b7f8c8.min.js:1:1248)
          at l (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:153355)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1372530)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at gt (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-patternfly-5~main-chunk-62fb4d4b456aa3eee8b7.min.js:1:98672)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at u (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/api/plugins/kubevirt-plugin/exposed-modalProvider-chunk-87ebb094a8a977a9c465.min.js:1:423)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at oe (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394301)
          at o (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:659114)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1364804)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1362346)
          at ie (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1394423)
          at le (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1397075)
          at _ (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:4920)
          at ne (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:10364)
          at _ (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:4920)
          at ne (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:10364)
          at te (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:31:9773)
          at G (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:12:11631)
          at t (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:12:24311)
          at se (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:1397337)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:632127)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:958549)
          at l (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/main-chunk-bf625cf18b9c71c4f3e7.min.js:1:499466)
          at t.a (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendor-plugins-shared~main-chunk-6b3c5be0ccef8186b24a.min.js:12:31092)
          at Suspense

      Stack trace:

      TypeError: Cannot create property 'kind' on string 's'
          at v (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/create-operand-chunk-b37c43ef36615ed4f808.min.js:1:18223)
          at ra (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:58879)
          at Fa (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:68397)
          at Us (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:112289)
          at Su (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:98327)
          at wu (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:98255)
          at _u (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:98118)
          at hu (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:95105)
          at https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:117:44774
          at t.unstable_runWithPriority (https://console-openshift-console.apps.msecaurocp4.tamlab.brq2.redhat.com/static/vendors~main-chunk-c6bb105625c854a3df7d.min.js:125:3768)

              wnstb Wes Hayutin
              rhn-support-msecaur Matthew Secaur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: