Project

General

Profile

Actions

Bug #23246

closed

Breadcrumb switcher causes warnings in browser console

Added by Tomáš Strachota over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Three warnings appear upon each breadcrumb switcher opening:

Warning: Failed prop type: Invalid prop `resourceSwitcherItems[0].id` of type `number` supplied to `BreadcrumbBar`, expected `string`.
    in BreadcrumbBar (created by Connect(BreadcrumbBar))
    in Connect(BreadcrumbBar)
    in Provider

Warning: Failed prop type: Invalid prop `resources[0].id` of type `number` supplied to `BreadcrumbSwitcher`, expected `string`.
    in BreadcrumbSwitcher (created by BreadcrumbBar)
    in BreadcrumbBar (created by Connect(BreadcrumbBar))
    in Connect(BreadcrumbBar)
    in Provider
Warning: Failed prop type: Invalid prop `resources[0].id` of type `number` supplied to `BreadcrumbSwitcherPopover`, expected `string`.
    in BreadcrumbSwitcherPopover (created by BreadcrumbSwitcher)
    in BreadcrumbSwitcher (created by BreadcrumbBar)
    in ol (created by Breadcrumb)
    in Breadcrumb (created by Breadcrumb)
    in Breadcrumb (created by Breadcrumb)
    in Breadcrumb (created by BreadcrumbBar)
    in div (created by BreadcrumbBar)
    in BreadcrumbBar (created by Connect(BreadcrumbBar))
    in Connect(BreadcrumbBar)
    in Provider

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #22855: Add redux container for breadcrumb switcherClosedAmir Fefer03/12/2018Actions
Actions

Also available in: Atom PDF