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

OpenShift Lightspeed "Import to console" action fails on 4.20+

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20, 4.21
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      Previously, when clicking the "Import to console" action on an OpenShift Lightspeed YAML code block (generated as part of the AI response), it correctly redirects to the YAML import page, but the editor was not pre-populated with the YAML. With this release, the code block is correctly populated.
      Show
      Previously, when clicking the "Import to console" action on an OpenShift Lightspeed YAML code block (generated as part of the AI response), it correctly redirects to the YAML import page, but the editor was not pre-populated with the YAML. With this release, the code block is correctly populated.
    • None
    • None
    • None
    • None

      Description of problem:

      When clicking the "Import to console" action on an OpenShift Lightspeed YAML code block (generated as part of the AI response), it correctly redirects to the YAML import page, but the editor is not pre-populated with the YAML 

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

          

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install OpenShift Lightspeed operator
      2. Prompt the AI with something that will cause it to respond with some YAML such as "Show me some example deployment YAML"
      3. Click the "Import to console" action on the resulting YAML code block

      Actual results:

      YAML not injected into editor and JavaScript error thrown

      Expected results:

      YAML editor should be pre-populated with the YAML code 

      Additional info:

      Error message is: "TypeError: Cannot use 'in' operator to search for 'editor' in undefined"

              rhn-engineering-rhamilto Robb Hamilton
              anpicker@redhat.com Andrew Pickering
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: