-
Notifications
You must be signed in to change notification settings - Fork 1
VM create form: cannot add a disk until the page is refreshed once #36
Copy link
Copy link
Open
Labels
area/formsIssues or PRs related to RJSF schema forms and widgets (backup, external-ips, storage-class, etc.)Issues or PRs related to RJSF schema forms and widgets (backup, external-ips, storage-class, etc.)area/vmIssues or PRs related to virtual machines — VNC console, VM tabs, kubevirt integrationIssues or PRs related to virtual machines — VNC console, VM tabs, kubevirt integrationkind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bugpriority/backlogGeneral backlog priority. Lower than priority/important-longtermGeneral backlog priority. Lower than priority/important-longterm
Metadata
Metadata
Assignees
Labels
area/formsIssues or PRs related to RJSF schema forms and widgets (backup, external-ips, storage-class, etc.)Issues or PRs related to RJSF schema forms and widgets (backup, external-ips, storage-class, etc.)area/vmIssues or PRs related to virtual machines — VNC console, VM tabs, kubevirt integrationIssues or PRs related to virtual machines — VNC console, VM tabs, kubevirt integrationkind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bugpriority/backlogGeneral backlog priority. Lower than priority/important-longtermGeneral backlog priority. Lower than priority/important-longterm
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
On the VM create form, the "add disk" control does not work until the page is refreshed once. After a fresh navigation to the form, attempting to add a disk fails; a single manual page reload makes it work.
Reported on v1.4.2. The VM disk form has since been reworked substantially on
main(see below), so this may already be resolved — this issue exists to pin the exact symptom and confirm it against currentmainbefore closing.What changed since the report
The disk handling that shipped in v1.4.2 (
VMDiskWidget, a one-shotuseK8sListon mount with no refetch) has been replaced and hardened onmain:VMDiskWidgetremoved entirely, replaced by the genericDynamicOptionsWidgetdriven byx-cozystack-options/ theOptionresource (feat(console): dynamic form dropdowns via x-cozystack-options (DynamicOptionsWidget) #30)Those fixes target disk selection state. The reported symptom is about adding a disk array item (the array "+ Add" interaction) being unavailable until a refresh, which is a distinct facet — possibly already covered by the stale-RJSF-state fix, but not confirmed.
Repro / verification needed
main.If it still reproduces, narrow it to the array-field add interaction in
SchemaFormand fix; if not, close as resolved by the SchemaForm rework.Source
A user on v1.4.2 reported needing to refresh the page once before being able to add a disk to a VM.