Project

General

Profile

Actions

Bug #84697

closed

Viewpage module throws localization error

Added by Christian Heindl about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2018-04-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

After updating to TYPO3 9.2 we have a problem when opening the viewpage-module:

#1498144052: Parameter $extensionName cannot be empty if a fully-qualified key is not specified. (More information)

InvalidArgumentException thrown in file
/home/someuser/typo3v9/web/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php in line 83.

33 TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate("maximized", NULL, NULL, NULL, NULL)

In EXT:viewpage/Resources/Private/Templates/ViewModule/Show.html there is a call to f:translate of the following form:

{f:translate(key: 'maximized')}

Seems that the extension name is neither present within the f:translate call nor in the $request->getControllerExtensionName() within TranslateViewHelper.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #83987: Remove extbase from view extensionClosedGeorg Ringer2018-02-21

Actions
Actions #1

Updated by Andreas Kienast about 6 years ago

  • Related to Task #83987: Remove extbase from view extension added
Actions #2

Updated by Andreas Kienast about 6 years ago

  • Is Regression set to Yes
Actions #3

Updated by Gerrit Code Review about 6 years 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/56635

Actions #4

Updated by Gerrit Code Review about 6 years 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/56635

Actions #5

Updated by Gerrit Code Review about 6 years 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/56635

Actions #6

Updated by Andreas Fernandez about 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF