From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id D22D31FF09B for ; Mon, 28 Sep 2026 09:17:18 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 19DD721983; Mon, 28 Sep 2026 09:15:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dualfroz.com; s=dkim; t=1790407781; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=KIuZYwU2sDVxXlM+MpmgsGecx94Pe1k1OsFHB8otCoI=; b=kFYG+IjAMXP/CrdtTLYEt9xw/z9ksFJzNPlWnordcfTOyVDXU9kZa/jYfCEO0eOT9Or3s4 hNJyWlqWy/KqmPtVWmX063czpKXXjQEqSn/2qa7R8tEaGsqnL3qJOmdFAbdrmHQoapuzJh 8nwmlKkF81gV33y6bUaS1tAgPSsY/oqKk2KsFb3a1b4nX+gMcw76/ZgnYreCNOsRemuOq7 hGJHYDdtnjGc7EAcumZb3XQyl9OcOJqAZGUnnWw1yle9lgIVnkfMiFUQgo0nWKRQsTmnhZ f1JM55BO5KXDsxuJGy7Dl0N9fFhe6lSX9QanhT2IFqpkZFEveB+rtqwmlMKahA== From: Michal Fox To: pve-devel@lists.proxmox.com Subject: [PATCH manager 2/2] fix #6516: ui: backup job: limit the job ID length Date: Sat, 26 Sep 2026 07:29:33 +0000 Message-ID: <20260926072933.7-3-me@dualfroz.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260926072933.7-1-me@dualfroz.com> References: <20260926072933.7-1-me@dualfroz.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.346 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: me@dualfroz.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: 2ZL36KLPST7SKPD6TIGNMMLBEUQR76FO X-Message-ID-Hash: 2ZL36KLPST7SKPD6TIGNMMLBEUQR76FO X-Mailman-Approved-At: Mon, 28 Sep 2026 09:14:43 +0200 X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The API only allows backup job IDs of up to 50 characters, so mark longer values as invalid in the edit window already, instead of failing on submit. Signed-off-by: Michal Fox --- www/manager6/panel/BackupAdvancedOptions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/manager6/panel/BackupAdvancedOptions.js b/www/manager6/panel/BackupAdvancedOptions.js index fe8cc3bf..54a995dd 100644 --- a/www/manager6/panel/BackupAdvancedOptions.js +++ b/www/manager6/panel/BackupAdvancedOptions.js @@ -122,6 +122,7 @@ Ext.define('PVE.panel.BackupAdvancedOptions', { startColumn: { xtype: 'pmxDisplayEditField', vtype: 'ConfigId', + maxLength: 50, fieldLabel: gettext('Job ID'), emptyText: gettext('Autogenerate'), name: 'id', -- 2.43.0