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

[release-4.13] Web Console Shows Non-printable file detected

XMLWordPrintable

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

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

      Description of problem:

      Openshift Console shows "Info alert:Non-printable file detected. File contains non-printable characters. Preview is not available." while edit an XML file type configmaps.

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. Create configmap from file:
      # oc create cm test-cm --from-file=server.xml=server.xml
      configmap/test-cm created
      
      2. If we try to edit the configmap in the OCP console we see the following error:
      
      Info alert:Non-printable file detected.
      File contains non-printable characters. Preview is not available.
      
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

            rhn-engineering-rhamilto Robb Hamilton
            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: