Skip to content

Resource list pages empty themselves after quickly navigating back from detail page #17524

@izaac

Description

@izaac

Setup

  • Rancher version: head (2.15)
  • Rancher UI Extensions:
  • Browser type & version:

Describe the bug

After viewing a list (ConfigMaps reproduced), pressing the browser Back button from a row's detail page while the detail is still loading lands the user on the list view, where rows briefly paint from cache and then disappear. The table flips to "There are no rows to show". The underlying resources still exist and a page reload restores them.

To Reproduce

  1. Log in to Rancher dashboard.
  2. Open any cluster (local reproduces).
  3. Navigate to a list view backed by SortableTable (Storage → ConfigMaps reproduces; expected to apply to all list views).
  4. Wait for rows to render.
  5. Click a row to open its detail page.
  6. While the detail page is still showing "Loading..." (do not wait for it to finish), press the browser Back button.
  7. Observe the list view.

Result

  • List paints with cached rows for ~500ms.
  • Rows vanish; table flips to "There are no rows to show".
  • Underlying resources still exist; reload restores them.

Expected Result

  • Cached rows remain visible.
  • The list re-fetch completes and either keeps the rows or refreshes them — never blanks the view.

Screenshots

race-condition.mp4

Additional context
initial render race between find()/load() and invalidatePageCache

Metadata

Metadata

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions