Skip to content

Masthead component intermittently throwing 'TypeError: Cannot read properties of undefined (reading 'resource')' #17870

Description

@eva-vashkevich

Setup

  • Rancher version: 2.15-head
  • Rancher UI Extensions: None
  • Browser type & version: Chrome

Describe the bug

Generic imported cluster's detail page intermittently throws a console error

To Reproduce

Import Generic cluster -> New cluster's detail page (do not actually import anything)
VERY intermittent

Result
TypeError: Cannot read properties of undefined (reading 'resource')
at Proxy.render (index.vue:32:1)
Error is thwon in the console from dashboard/shell/components/Resource/Detail/Masthead/index.vue

Expected Result

No error should be thrown

Screenshots

Image

Additional context

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions