Bug #28066
closedReact duplicate key error on Subscriptions page
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))))
Updated by Samir Jha about 5 years ago
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8420 added
Updated by Jonathon Turel about 5 years ago
- Has duplicate Bug #28216: React duplicate key error on Subscriptions page added
Updated by The Foreman Bot about 5 years ago
- Fixed in Releases Katello 3.15.0 added
Updated by Swetha Seelam Lakshmi Narayanan about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|02900d11587ab873f76bae16fe4f898ea7fdc39b.