Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fleet: GitRepo config page content disappears after 15 seconds #13026

Open
torchiaf opened this issue Jan 9, 2025 · 0 comments · May be fixed by #13029
Open

Fleet: GitRepo config page content disappears after 15 seconds #13026

torchiaf opened this issue Jan 9, 2025 · 0 comments · May be fixed by #13029

Comments

@torchiaf
Copy link
Member

torchiaf commented Jan 9, 2025

Setup

  • Rancher version: master 374ca33
  • Rancher UI Extensions:
  • Browser type & version:

Describe the bug

The UI receives a GitRepo update from websocket API every 15 seconds, by default.
If value.spec.correctDrift in fleet.cattle.io.gitrepo.vue is undefined the Vue template throws an error:

  <Checkbox
    v-model:value="value.spec.correctDrift.enabled"
    data-testid="GitRepo-correctDrift-checkbox"
    class="check"
    type="checkbox"
    label-key="fleet.gitRepo.resources.correctDrift"
    :mode="mode"
  />

image

To Reproduce

  1. Go to Fleet -> GitRepos -> click on existing GitRepo -> Config tab
  2. Wait for 15 seconds
  3. Details page disappears

Screenshots

Additional context

@torchiaf torchiaf added this to the v2.11.0 milestone Jan 9, 2025
@github-actions github-actions bot added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label Jan 9, 2025
@torchiaf torchiaf added area/fleet status/backport-candidate and removed QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this labels Jan 9, 2025
@torchiaf torchiaf changed the title Fleet: GitRepo detail page content disappears after 15 seconds Fleet: GitRepo config page content disappears after 15 seconds Jan 9, 2025
@torchiaf torchiaf self-assigned this Jan 9, 2025
@torchiaf torchiaf linked a pull request Jan 9, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant