[pve-devel] applied: [PATCH manager v2] ui: resource mappings: fix editing of mapping for non first node

Fiona Ebner f.ebner at proxmox.com
Fri Jul 26 11:10:57 CEST 2024


Am 26.07.24 um 09:40 schrieb Dominik Csapak:
> when editing the pci mapping, we set the nodename of the pci/usbselector
> to the selected node. At the same time we disable and hide the node
> selector, but it still changes it's value to the 'first' node
> (alphabetically sorted) and that triggers a change event.
> 
> To prevent that we accidentally set the node of the pci/usbselector
> too, we need to check here if the field is disabled.
> 
> There seems to be a race when loading the nodes for the nodeselector
> which leads to inconsistent behaviour, so this was only encountered for
> the pciselector, but theoretically it could also happen for the
> usbselector so adding that condition to both.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>

applied, thanks!




More information about the pve-devel mailing list