Bug #87042

Single errors from FileSizeValidator could not be translated

Added by Marc Bastian Heinrichs 8 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2018-11-29
Due date:
% Done:

100%

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

Description

One could get three different errors from the FileSizeValidator.
They could only translated with a shared error code.

Reason:
The error code gets lost in UploadedFileReferenceConverter and is "replaced" by a general TypeConverterException code.


Related issues

Related to TYPO3 Core - Bug #88022: Arguments not passed or replaced in FileSize validator error message Closed 2019-03-27

Associated revisions

Revision b5903a08 (diff)
Added by Marc Bastian Heinrichs 6 months ago

[BUGFIX] Make single errors from FileSizeValidator translatable

Hand over the original error code from the validator instead of
setting a new one.

Resolves: #87042
Releases: master, 9.5
Change-Id: Ifbb023423934832fdea2550aa7d3a55507616e73
Reviewed-on: https://review.typo3.org/58996
Tested-by: TYPO3com <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 19ef904a (diff)
Added by Marc Bastian Heinrichs 6 months ago

[BUGFIX] Make single errors from FileSizeValidator translatable

Hand over the original error code from the validator instead of
setting a new one.

Resolves: #87042
Releases: master, 9.5
Change-Id: Ifbb023423934832fdea2550aa7d3a55507616e73
Reviewed-on: https://review.typo3.org/59408
Tested-by: TYPO3com <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 8 months 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/58996

#2 Updated by Gerrit Code Review 7 months 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/58996

#3 Updated by Gerrit Code Review 6 months ago

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

#4 Updated by Gerrit Code Review 6 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/59408

#5 Updated by Marc Bastian Heinrichs 6 months ago

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

#6 Updated by Jarvis H 4 months ago

  • Related to Bug #88022: Arguments not passed or replaced in FileSize validator error message added

#7 Updated by Benni Mack 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF