Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1501

Domain Explorer web console errors caused by Breadcrump manipulation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 0.8.0
    • Management Console
    • None
      1. Navigate to localhost:9000/DomainExplorer
      2. Open Web Developers tool of your browser > console
      3. Click Travels
      4. See the log messages

      There are two errors in web console (web developer tools in browser) regarding breadcrump markup of the Domain Explorer page.

      Appears when user navigates from /DomainExplorer to a specific Domain using a link - see video in attachment.

      1. Warning: Each child in a list should have a unique "key" prop.
        
        Check the render method of `DomainExplorerDashboard`. See https://fb.me/react-warning-keys for more information.
            in BreadcrumbItem (created by DomainExplorerDashboard)
            in DomainExplorerDashboard (created by Context.Consumer)
            in Route (created by Dashboard)
            in Switch (created by Dashboard)
            in main (created by Page)
            in div (created by Page)
            in Page (created by Dashboard)
            in Dashboard (created by Context.Consumer)
            in Route (created by BaseComponent)
            in Switch (created by BaseComponent)
            in Router (created by BrowserRouter)
            in BrowserRouter (created by BaseComponent)
            in BaseComponent
            in ApolloProvider react.development.js:315
        
      2. Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
            in a (created by LinkAnchor)
            in LinkAnchor (created by Context.Consumer)
            in Link (created by DomainExplorerDashboard)
            in a (created by BreadcrumbItem)
            in li (created by BreadcrumbItem)
            in BreadcrumbItem (created by DomainExplorerDashboard)
            in ol (created by Breadcrumb)
            in nav (created by Breadcrumb)
            in Breadcrumb (created by Context.Consumer)
            in ComponentWithOuia (created by Context.Consumer)
            in Unknown (created by DomainExplorerDashboard)
            in section (created by PageSection)
            in PageSection (created by DomainExplorerDashboard)
            in DomainExplorerDashboard (created by Context.Consumer)
            in Route (created by Dashboard)
            in Switch (created by Dashboard)
            in main (created by Page)
            in div (created by Page)
            in Page (created by Dashboard)
            in Dashboard (created by Context.Consumer)
            in Route (created by BaseComponent)
            in Switch (created by BaseComponent)
            in Router (created by BrowserRouter)
            in BrowserRouter (created by BaseComponent)
            in BaseComponent
            in ApolloProvider react-dom.development.js:88
        

        1. output.gif
          934 kB
          Jan Stastny

            cnicolai@redhat.com Cristiano Nicolai
            jstastny@redhat.com Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: