[pbs-devel] [PATCH proxmox-backup] fix: tape ui: unset `deleteEmpty` in `TapeBackupWindow`

Stefan Sterz s.sterz at proxmox.com
Thu Apr 25 10:37:10 CEST 2024


On Fri Apr 5, 2024 at 4:12 PM CEST, Stefan Sterz wrote:
> since the api rejects unknown parameters, deleteEmpty needs to be
> unset here, because the endpoint for creating backups does not support
> deleting parameters. otherwise a user will get a fairly cryptic error
> message in the gui.
>
> Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
> ---
>  www/tape/window/TapeBackup.js | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/www/tape/window/TapeBackup.js b/www/tape/window/TapeBackup.js
> index 941b6b83..4c027ab0 100644
> --- a/www/tape/window/TapeBackup.js
> +++ b/www/tape/window/TapeBackup.js
> @@ -39,6 +39,7 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
>  		    fieldLabel: gettext('Max Depth'),
>  		    disabled: true,
>  		    name: 'max-depth',
> +		    deleteEmpty: false,
>  		},
>  		{
>  		    xtype: 'pbsMediaPoolSelector',

ping, this is a fairly minor improvement that fixes the one of tape
backup ui




More information about the pbs-devel mailing list