mirror of
https://github.com/adminsyspro/proxcenter-ui.git
synced 2026-04-24 22:15:58 +03:00
[GH-ISSUE #87] [Bug]: VLAN view broken in inventory #135
Labels
No labels
bug
enhancement
feature-request
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxcenter-ui#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flpmonstro on GitHub (Mar 9, 2026).
Original GitHub issue: https://github.com/adminsyspro/proxcenter-ui/issues/87
Bug Description
When I try to view the VLAN in the inventory, I get this error:
MUI X: The Tree View component requires all items to have a unique
idproperty. Alternatively, you can use thegetItemIdprop to specify a custom id for each item. Two items were provided with the same id in theitemsprop: "vm:cmmataiav000001mme26vxtez:pve-ha-01:qemu:111"Steps to Reproduce
Expected Behavior
Show the number of vlans in each node and the vlans .
Actual Behavior
ProxCenter Version
bedd4f5Proxmox VE Version
8.4.16
Browser
Chrome and Firefox
Logs / Screenshots
No response
@adminsyspro commented on GitHub (Mar 9, 2026):
Thanks for reporting this! The issue was caused by duplicate
itemIdvalues in the MUI TreeView — when a VM has multiple network interfaces (e.g. on different VLANs or bridges), it appeared multiple times in the tree with the same ID.Fixed in commit
675aff9: the TreeItem ID now includes the network interface name and VLAN tag, making each entry unique.This fix will be available in the next build. Let us know if you still encounter the issue after updating!
@flpmonstro commented on GitHub (Mar 9, 2026):
Hi everyone ,
Fixed the tree, but the number of VLANs in the node still isn't right.
@adminsyspro commented on GitHub (Mar 10, 2026):
Thanks for the follow-up! Could you share a bit more about your network setup?
Specifically:
vmbr0without atagparameter)?net0: virtio=...,bridge=vmbr0,tag=100vsnet0: virtio=...,bridge=vmbr0)In the meantime, we've improved the node label in commit
833dc30— it now shows the VM count alongside the VLAN count, and hides the "0 VLANs" label when all interfaces are untagged. This should give a more accurate picture of what's on each node.@flpmonstro commented on GitHub (Mar 10, 2026):
Hi guys !!
I don't have the tag applied directly to the VM interface. In my environment, I use SDN and apply the vnet to the bridge.
That's why I was confused... But I think this is important information. And it should be visible.
@adminsyspro commented on GitHub (Mar 10, 2026):
Thanks for the details! That makes sense — your VLANs are managed at the SDN level (vnets/zones) rather than as tags on VM interfaces, which is why they don't appear in the current network tree.
We don't support SDN mapping yet, but this is definitely something we want to integrate. We'll look into fetching vnet/zone data from the Proxmox SDN API to properly display the VLAN topology in your case.
I'll keep this issue open and update you when we have progress on SDN support. Thanks for helping us improve ProxCenter! 🙏