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

Create from YAML crashes when YAML editor is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.14.z
    • 4.13.0, 4.14.0
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-21616. The following is the description of the original issue:

      Description of problem:

      When any object is created from YAML with empty editor window, the application crashes.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      always

      Steps to Reproduce:

      1. Navigate to Virtualization -> VirtualMachines 
      2. Open "Create VirtualMachine" menu 
      3. Select "With YAML"
      4. Clear the editor content
      5. Click "Create" button

      Actual results:

      The application crashes

      Expected results:

      User is notified about invalid/empty editor content.

      Additional info:

      The same happens in 4.13

              jhadvig@redhat.com Jakub Hadvig
              openshift-crt-jira-prow OpenShift Prow Bot
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: