#107053Allow renaming text-y files
Description
Renaming a file like “test.txt” to “test.css” should be possible, if both the “old” and “new” MIME Types are allowed and valid.
Also renaming “test.css” back to “test.txt” should not fail due to MIME types.
Reviews 1
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch
- Commit message
-
[TASK] Allow renaming text-y files Resolves: #107053 Releases: main
Related issues 2
History 810
-
Garvin Hicking changed Related to #104330 <span data-processor="relativetime" data-value="2025-07-07T18:44:38+00:00" > 07/07/25, 18:44 </span>
-
Garvin Hicking changed Related to #106890 <span data-processor="relativetime" data-value="2025-07-07T18:44:45+00:00" > 07/07/25, 18:44 </span>
-
Georg Ringer changed status
NewAccepted <span data-processor="relativetime" data-value="2025-08-06T09:37:28+00:00" > 08/06/25, 09:37 </span> -
Benni Mack changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2026-08-06T16:02:29+00:00" > 08/06/26, 16:02 </span>
-
Christian Spoo commented <span data-processor="relativetime" data-value="2026-08-06T18:37:58+00:00" > 08/06/26, 18:37 </span>
-
Markus Timtner commented and changed TYPO3 Version
1214 <span data-processor="relativetime" data-value="2026-10-22T10:47:56+00:00" > 10/22/26, 10:47 </span>I can reproduce this in main – created a file “test.txt” in fileadmin -> renamed it to “test.css”
Got the error: Resource consistency check failed: The MIME type “text/plain” is not allowed for files with the extension “css”. Expected: text/css. -
Markus Timtner commented <span data-processor="relativetime" data-value="2026-10-22T10:49:49+00:00" > 10/22/26, 10:49 </span>
You cant even create a file “text.css” directly with the Media Module.
-
Gerrit Code Review pushed patch set 1 for main to change 96999 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-10-22T11:25:38+00:00" > 10/22/26, 11:25 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96999 <span data-processor="relativetime" data-value="2026-11-03T18:53:10+00:00" > 11/03/26, 18:53 </span>
-
Markus Klein changed status
Under ReviewNew <span data-processor="relativetime" data-value="2026-11-10T19:02:09+00:00" > 11/10/26, 19:02 </span>
Hm. I cannot reproduce this in current main. Do we really want to fix this for TYPO3 12?