Project

General

Profile

Bug #28066

React duplicate key error on Subscriptions page

Added by Jeremy Lenz over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Has duplicate Katello - Bug #28216: React duplicate key error on Subscriptions pageRejected

Associated revisions

Revision 02900d11 (diff)
Added by Swetha Seelam Lakshmi Narayanan over 2 years ago

Fixes #28066 - fix key error in Subscriptions Page

History

#1 Updated by Samir Jha over 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.14.0

#2 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8420 added

#3 Updated by Jonathon Turel over 2 years ago

  • Has duplicate Bug #28216: React duplicate key error on Subscriptions page added

#4 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 3.15.0 added

#5 Updated by Swetha Seelam Lakshmi Narayanan over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF