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

Web Console Shows Non-printable file detected

    XMLWordPrintable

Details

    Description

      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:

       

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhamilto Robb Hamilton
              rhn-support-ssardar Sameer Sardar
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: