Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-3872

Machine type filtering causes runtime error

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • True
    • OCMUI Team Sprint 278

      Environment: prod

      Url: https://console.redhat.com/openshift/create/rosa/wizard

      Browser: Safari 26.0.1

      OS: MacOS 10.15.7

      Reproduction steps: Unsure as this error was tracked by sentry and not reported by a customer. From the report it seems the error happens while filtering machine types:

      Current Result: 

      undefined is not an object (evaluating 't.typesByID[e]')

      The file causing this is src/components/clusters/common/ScaleSection-deprecated/MachineTypeSelection/MachineTypeSelection.jsx line 164 :29

      const isMachineTypeIncludedInFilteredSet = (machineTypeID, filteredMachineTypes) =>
          !!filteredMachineTypes?.typesByID[machineTypeID];
      

      Expected Result: No runtime errors

      You can find more info on the sentry error:

      https://glitchtip.devshift.net/ocm/issues/3950209

       

              zherman Zac Herman
              robertoemanuel Roberto Emanuel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: