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

error message got truncated on Import YAML results page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.16
    • Management Console
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      error message on import yaml result pages got truncated    

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

      4.16.0-0.nightly-2024-05-14-095225

      How reproducible:

      Always    

      Steps to Reproduce:

      1. create resources via `Import YAML`, for example create resources in https://raw.githubusercontent.com/openshift/console/master/dynamic-demo-plugin/oc-manifest.yaml 
      2. create the same resources again via `Import YAML` 
          

      Actual results:

      2. since same resources have been created we will see errors the 2nd time we create the resources, but the error messages are truncated  
      
      For example
      Error: lugins.console.openshift.io "console-demo-plugin" already exists 
      Error: es "console-demo-plugin" already exists
      Error: nts.apps "console-demo-plugin" already exists  

      Expected results:

      2. probably we should show full error message
      https://github.com/openshift/console/blob/master/frontend/public/components/import-yaml-results.tsx#L119 

      Additional info:

          

            cajieh Cyril Ajieh
            rhn-support-yapei YaDan Pei
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: