Project

General

Profile

Actions

Bug #86765

closed

Error: when creating disallowed textfile type in filelist module

Added by Thomas Alboth, undkonsorten over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Start date:
2018-10-27
Due date:
% Done:

100%

Estimated time:
0.50 h
TYPO3 Version:
9
PHP Version:
7.2
Tags:
filelist, textfile_ext
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:
On Location Sprint

Description

How to create the problem:

1. Check your settings for [SYS][textfile_ext]. Be sure "md" is not whitelisted/allowed. My Setup was

[SYS][textfile_ext] => 'txt,ts,typoscript,html,htm,css,tmpl,js,sql,xml,csv,xlf,yaml,yml'

2. Go to module filelist
3. Click on + (New),
4. Create new textfile" with a disallowed file extension – im my case "_test.md_"

Now you should get an Error:

(1/1) #1436717278 InvalidArgumentException
The given status code is not a valid HTTP status code.

But the file "test.md" is still created.

Expected Behaviour:

1: No Error / Exception
2: Flash message: "Files with that extension are not editable. Allowed extensions are: txt,ts,typoscript,html,htm,css,tmpl,js,sql,xml,csv,xlf,yaml,yml"


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #72404: misleading information while creating files in filelist moduleClosed2015-12-23

Actions
Actions #1

Updated by Thomas Alboth, undkonsorten over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi over 5 years ago

  • Related to Bug #72404: misleading information while creating files in filelist module added
Actions #3

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58731

Actions #4

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58731

Actions #5

Updated by Thomas Alboth, undkonsorten over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF