Project

General

Profile

Actions

Bug #28066

closed

React duplicate key error on Subscriptions page

Added by Jeremy Lenz about 5 years ago. Updated about 5 years ago.

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

Description

When the subscriptions table has two or more expandable rows (without a checkbox in the first column), the following error is displayed in the JS console. It should be addressed to avoid the situations outlined in the error message. This error occurs at least once per render per expandable row:

Warning: Encountered two children with the same key, `0-row`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
in tbody (created by Body)
in Body (created by TableBody)
in TableBody (created by Table)
in table (created by Provider)
in Provider (created by TablePfProvider)
in TablePfProvider (created by Table)
in div (created by Table)
in Table (created by Table)
in Table (created by SubscriptionsTable)
in LoadingState (created by SubscriptionsTable)
in SubscriptionsTable (created by SubscriptionsPage)
in div (created by SubscriptionsPage)
in div (created by Col)
in Col (created by SubscriptionsPage)
in div (created by Row)
in Row (created by SubscriptionsPage)
in div (created by Grid)
in Grid (created by SubscriptionsPage)
in SubscriptionsPage (created by ConnectFunction)
in ConnectFunction (created by Headers)
in Headers (created by CheckOrg)
in CheckOrg (created by ConnectFunction)
in ConnectFunction (created by Route)
in Route
in div
in Unknown (created by Application)
in Router (created by BrowserRouter)
in BrowserRouter (created by Application)
in Application (created by ConnectFunction)
in ConnectFunction (created by I18nProviderWrapper(Connect(Application)))
in IntlProvider (created by I18nProviderWrapper(Connect(Application)))
in I18nProviderWrapper(Connect(Application)) (created by StoreProvider(I18nProviderWrapper(Connect(Application))))
in Provider (created by StoreProvider(I18nProviderWrapper(Connect(Application))))
in StoreProvider(I18nProviderWrapper(Connect(Application))) (created by DataProvider(StoreProvider(I18nProviderWrapper(Connect(Application)))))
in DataProvider(StoreProvider(I18nProviderWrapper(Connect(Application))))


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #28216: React duplicate key error on Subscriptions pageRejectedSwetha Seelam Lakshmi NarayananActions
Actions

Also available in: Atom PDF