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

React warning (missing key) when inspecting browser log

    XMLWordPrintable

Details

    • ODC Sprint 231
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

    Description

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

      Description of problem:
      Unnecessary react warning:

      Warning: Each child in a list should have a unique "key" prop.
      
      Check the render method of `NavSection`. See https://reactjs.org/link/warning-keys for more information.
      NavItemHref@http://localhost:9012/static/main-785e94355aeacc12c321.js:5141:88
      NavSection@http://localhost:9012/static/main-785e94355aeacc12c321.js:5294:20
      PluginNavItem@http://localhost:9012/static/main-785e94355aeacc12c321.js:5582:23
      div
      PerspectiveNav@http://localhost:9012/static/main-785e94355aeacc12c321.js:5398:134
      

      Version-Release number of selected component (if applicable):
      4.11 was fine
      4.12 and 4.13 (master) shows this warning

      How reproducible:
      Always

      Steps to Reproduce:
      1. Open browser log
      2. Open web console

      Actual results:
      React warning

      Expected results:
      Obviously no react warning

      Attachments

        Issue Links

          Activity

            People

              cjerolim Christoph Jerolimov
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: