translateElementError-ViewHelper does not work with TYPO3\CMS\Extbase\Error\Error
Under some circumstances an TYPO3\CMS\Extbase\Error\Error is rendered instead of an TYPO3\CMS\Extbase\Validation\Error, which is extending the Error\Error.
This is not supported. There are checks for Validation\Error to retrieve the code.
These circumstances are for example:
Non complete file uploads, e.g. to server settings and file size.
Non allowed mime type.
Updated by Daniel Siepmann about 3 years ago
The error was introduced in https://github.com/TYPO3/TYPO3.CMS/commit/70b8ffc06c68a21a5dc191d6b7f77b42092fc208 where Validation\Error is checked instead of Error\Error.