Bug #88236

ext:form MimeTypeValidator error message does not replace placeholders

Added by Ralf Zimmermann 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2019-04-27
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

The MimeTypeValidator error message does not replace its placeholders.

Current message: "You entered an incorrect media type, "%s" is not allowed for this file. Please refer to the description of this field."

Expected message: "You entered an incorrect media type, "application/vnd.oasis.opendocument.text" is not allowed for this file. Please refer to the description of this field."

Associated revisions

Revision 60f445b9 (diff)
Added by Ralf Zimmermann 5 months ago

[BUGFIX] Add arguments to the MimeTypeValidator error object

Enriches the ext:form MimeTypeValidator error object with the mime type
of the validated file.

Resolves: #88236
Releases: master, 9.5
Change-Id: Ie2ec6950c58841f4f942e38acf4a36a9b8b9635c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60601
Reviewed-by: Susanne Moog <>
Reviewed-by: Ralf Zimmermann <>
Tested-by: Susanne Moog <>
Tested-by: TYPO3com <>
Tested-by: Ralf Zimmermann <>

Revision 2fb363e6 (diff)
Added by Ralf Zimmermann 5 months ago

[BUGFIX] Add arguments to the MimeTypeValidator error object

Enriches the ext:form MimeTypeValidator error object with the mime type
of the validated file.

Resolves: #88236
Releases: master, 9.5
Change-Id: Ie2ec6950c58841f4f942e38acf4a36a9b8b9635c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60605
Tested-by: TYPO3com <>
Tested-by: Ralf Zimmermann <>
Reviewed-by: Ralf Zimmermann <>

History

#1 Updated by Ralf Zimmermann 5 months ago

  • Sprint Focus set to Remote Sprint

#2 Updated by Gerrit Code Review 5 months ago

  • Status changed from In Progress 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/c/Packages/TYPO3.CMS/+/60601

#3 Updated by Gerrit Code Review 5 months ago

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

#4 Updated by Anonymous 5 months ago

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

#5 Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF