Issue Bug Closed

#78034Typoscript constant editor not supporting type=file[]

Georg Tiefenbrunn 09/22/16, 09:31 updated 10/02/18, 11:07

Description

Following docs.typo3.org and wiki.typo3.org I would expect all of the following definitions for Constant Editor to display some kind of file selector/wizard:

#cat=mysite/file/a; type=file; label=Test A
config.test.a =
#cat=mysite/file/b; type=file[txt,html,htm]; label=Test B
config.test.b =
#cat=mysite/file/c; type=file[IMAGE_EXT]; label=Test C
config.test.c =

TYPO3 CMS 7.6 (latest via composer) instead renders a select list with one option:

Test A: <option value="">()</option>
Test B: <option value="">(txt,html,htm)</option>
Test C: <option value="">(gif,jpg,jpeg,png,...)</option>

If this feature was removed (see https://forge.typo3.org/issues/51780) we should update the docs and fully remove type=file (or use it as an alias for type=string).

See ExtendedTemplateService.php#L1265

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.