Bug #87764

Bug in building menu configuration in LanguageMenuProcessor

Added by Online Now! GmbH 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-02-21
Due date:
% Done:

0%

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

Description

There is a small bug in building the configuration for the language menu in the class LanguageMenuProcessor ( function prepareConfiguration(), first line ). The merge of the default menu configuration and processor configuration is only done by a simple += operator. This does not work for nested parameters like addQueryString.exclude.

I was not able to set the exclude parameter because of this. The setting gets lost while merging. Its easy to fix with using a merge function which supports nested arrays, like array_merge_recursive().


Related issues

Related to TYPO3 Core - Bug #88387: Test does not test the result Resolved 2019-05-18

History

#1 Updated by Anja Leichsenring 8 days ago

  • Related to Bug #88387: Test does not test the result added

Also available in: Atom PDF