all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Gabriel Goller <g.goller@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] sdn: remove fabrics property correctly from the Vxlan Zone
Date: Thu, 21 Aug 2025 10:34:53 +0200	[thread overview]
Message-ID: <20250821083455.21307-1-g.goller@proxmox.com> (raw)

The missing `deleteEmtpy` attribute caused the fabric property to never
be removed. So when e.g. removing the fabric to add the peers manually,
there would always be an error because you can't have peers *and*
fabrics configured.

Fixes: https://bugzilla.proxmox.com/show_bug.cgi?id=6710
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 www/manager6/sdn/zones/VxlanEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/sdn/zones/VxlanEdit.js b/www/manager6/sdn/zones/VxlanEdit.js
index 20e1c5bb7b00..43494deca233 100644
--- a/www/manager6/sdn/zones/VxlanEdit.js
+++ b/www/manager6/sdn/zones/VxlanEdit.js
@@ -54,6 +54,7 @@ Ext.define('PVE.sdn.zones.VxlanInputPanel', {
                 fieldLabel: 'SDN Fabric',
                 skipEmptyText: true,
                 allowBlank: true,
+                deleteEmpty: true,
                 autoSelect: false,
                 emptyText: gettext('used as underlay network'),
                 nodename: 'localhost',
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


                 reply	other threads:[~2025-08-21  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250821083455.21307-1-g.goller@proxmox.com \
    --to=g.goller@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal