Skip to content

Broken 'Show configuration' state after viewing YAML #17654

@momesgin

Description

@momesgin

Setup

  • Rancher version: 2.14 and later
  • Rancher UI Extensions:
  • Browser type & version:

Describe the bug
When navigating to the YAML view of a resource via the action menu, clicking the "Show configuration" option fails to load the configuration form. Instead, an empty section is displayed.

To Reproduce

  1. Navigate to a resource with a "View YAML" option in its action menu (e.g., Explorer > Workloads > Jobs > helm-install-traefik).
  2. Open the action menu for the resource.
  3. Select the "View YAML" option.
  4. On the resulting detail page, click on the "Show configuration" option.

Result
The configuration form does not load; an empty section is displayed instead.

Expected Result

  • After navigating to a resource via "View YAML" and then clicking "Show configuration", the configuration form renders correctly (matching the behaviour when navigating directly by clicking the resource name).
  • No regression: navigating directly to a resource still loads the configuration form correctly.

Screenshots

dsadsdpskadsapok.mov

Additional context

  • No console errors.
  • If I navigate to the resource normally by clicking its name, the configuration form loads fine. The bug only occurs when transitioning from the "View YAML" action.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions