Actions
Bug #28423
closedSubscriptions page blank with JS error
Description
The subscriptions page with the latest Foreman and Katello upstream is blank and has JS errors.
Here are the JS errors:
Warning: Failed context type: The context `router` is marked as required in `LinkContainer`, but its value is `undefined`. in LinkContainer (created by SubscriptionsToolbar) in div (created by FormGroup) in FormGroup (created by SubscriptionsToolbar) in div (created by SubscriptionsToolbar) in form (created by Form) in Form (created by SubscriptionsToolbar) in div (created by Col) in Col (created by SubscriptionsToolbar) in div (created by Row) in Row (created by SubscriptionsToolbar) in SubscriptionsToolbar (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 Context.Consumer) 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)))) foreman-vendor.bundle-v3.4.0-development-0660968ef5550d1253d4.js:205943:15 TypeError: this.context.router is undefined foreman-vendor.bundle-v3.4.0-development-0660968ef5550d1253d4.js:269705:16 The above error occurred in the <LinkContainer> component: in LinkContainer (created by SubscriptionsToolbar) in div (created by FormGroup) in FormGroup (created by SubscriptionsToolbar) in div (created by SubscriptionsToolbar) in form (created by Form) in Form (created by SubscriptionsToolbar) in div (created by Col) in Col (created by SubscriptionsToolbar) in div (created by Row) in Row (created by SubscriptionsToolbar) in SubscriptionsToolbar (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 Context.Consumer) 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)))) Consider adding an error boundary to your tree to customize error handling behavior. Visit https://fb.me/react-error-boundaries to learn more about error boundaries. foreman-vendor.bundle-v3.4.0-development-0660968ef5550d1253d4.js:252743:13 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. 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 Context.Consumer) 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 Chris Roberts almost 5 years ago
- Target version set to Katello 3.15.0
- Triaged changed from No to Yes
Updated by Walden Raines almost 5 years ago
This seems to be caused by upgrading vendor to v3 (https://github.com/Katello/katello/pull/8430).
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ron Lavi
- Pull request https://github.com/Katello/katello/pull/8476 added
Updated by The Foreman Bot almost 5 years ago
- Fixed in Releases Katello 3.15.0 added
Updated by Ron Lavi almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|f6bfa939d209b0059f6b9784fe206805b8eb5e59.
Actions