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

`name === '~new'` is not a valid condition since resource names cannot include `~`

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.0
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      https://github.com/search?q=repo%3Aopenshift%2Fconsole+name+%3D%3D%3D+%27%7Enew%27&type=code shows a number of instances in Console code where there is a check for a resource name with a value of "~new".  This check is not valid as a resource name cannot include "~".  We should remove these invalid checks.

            rhn-engineering-rhamilto Robb Hamilton
            rhn-engineering-rhamilto Robb Hamilton
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: