Project

General

Profile

Actions

Bug #87576

closed

File Storage `name` field is needlessly very short (30 characters)

Added by Leonie Philine almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2019-01-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

TCA for sys_file_storage:

        'name' => [
            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.name',
            'config' => [
                'type' => 'input',
                'size' => 30,
                'eval' => 'required'
            ]
        ],

in comparison, Filemounts have a sane title length:

        'title' => [
            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_filemounts.title',
            'config' => [
                'type' => 'input',
                'size' => 50,
                'max' => 255,
                'eval' => 'required,trim'
            ]
        ],

There is absolutely no reason to have a storage name field of such a short length! (If you can come up with any - please enlighten me.)

When using FAL secure storages ("Access > Publicly available?" = NO), optionally with EXT:fal_securedownload, then 30 characters quickly become too short if you have a multi-word site title and want to add e.g. "(secure)" to the name.

In any case, 30 characters is short for no reason, and fixing it is a no-brainer.

Actions

Also available in: Atom PDF