Project

General

Profile

Actions

Bug #44672

closed

LanguageController has "mixed" type annotations

Added by Nico de Haen almost 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
Start date:
2013-01-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

The LanguageController of the lang sysext causes Exceptions thrown by the PropertyMapper.

I get an error when trying to call the updateTranslation action:
Exception while property mapping at property path "":Could not find a suitable type converter for "mixed" because no such class or interface exists

There are (at least) 3 "mixed" parameter type annotations in action methods.

When I change the parameter type annotation of the $locales parameter of the updateTranslation to "string" it works, but I'm not sure if there are other method calls passing an array as $locales

Actions

Also available in: Atom PDF