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

getContainerStateValue contains incorrectly internationalized text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.13, 4.12.z, 4.12.0
    • Management Console
    • None
    • Low
    • False
    • Hide

      None

      Show
      None
    • Hide
       Previously, a terminated container would render `{{label}}` and {{exitCode}}' codes for each terminated container. With this update, the internationalization code is fixed to render a readable output message. (link:https://issues.redhat.com/browse/OCPBUGS-4206[*OCPBUGS-4206])
      Show
       Previously, a terminated container would render `{{label}}` and {{exitCode}}' codes for each terminated container. With this update, the internationalization code is fixed to render a readable output message. (link: https://issues.redhat.com/browse/OCPBUGS-4206 [* OCPBUGS-4206 ])
    • Bug Fix
    • Done

      Description of problem: https://github.com/openshift/console/blob/fe41d25a0fd43640e8c0a4276d2ad246e989067c/frontend/public/components/container.tsx#L247 results in `label with exit code exitCode` rendered in the browser.

      Steps to Reproduce:
      1. Create an crash looping pod by creating the default `example` pod using the `Create pod` button at the top of the Pods list page
      2. Click the `httpd` link in the `Containers` section of the `example` pod details page
      3. Note the status badge in near the page title can include `label with exit code exitCode`

            dfitzmau@redhat.com Darragh Fitzmaurice
            rhn-engineering-rhamilto Robb Hamilton
            Xiyun Zhao Xiyun Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: