public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Michal Fox <me@dualfroz.com>
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	[thread overview]
Message-ID: <20260926072933.7-3-me@dualfroz.com> (raw)
In-Reply-To: <20260926072933.7-1-me@dualfroz.com>

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 <me@dualfroz.com>
---
 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




      parent reply	other threads:[~2026-09-28  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-26  7:29 [PATCH manager 0/2] fix #6516: limit the backup job ID length on creation Michal Fox
2026-09-26  7:29 ` [PATCH manager 1/2] fix #6516: api: backup jobs: limit the " Michal Fox
2026-09-26  7:29 ` Michal Fox [this message]

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=20260926072933.7-3-me@dualfroz.com \
    --to=me@dualfroz.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal