Commit f13ef05c authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Properly apply mount points in RecordLinkHandler

The RecordLinkHandler allows to define custom mount
points, to be used for the page tree in the LinkBrowser.

However, due to not properly handling an empty
Configuration, the page tree was no longer shown
in case no mount points were defined, because
this led to the value being "[0]".

This is now fixed by properly handling an empty
mount point configuration.

Resolves: #96190
Releases: main, 11.5
Change-Id: Ic1a01f11c7499262697110664a5eb6cea94d13e1

Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Nikita Hovratov's avatarNikita Hovratov <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
parent 635df9b7
......@@ -151,7 +151,7 @@ class RecordLinkHandler extends AbstractLinkHandler implements LinkHandlerInterf
'treeEnabled' => (bool)($this->configuration['hidePageTree'] ?? false) === false,
'pageTreeMountPoints' => GeneralUtility::intExplode(',', $this->configuration['pageTreeMountPoints'] ?? ''),
'pageTreeMountPoints' => GeneralUtility::intExplode(',', $this->configuration['pageTreeMountPoints'] ?? '', true),
'recordList' => $recordList,
'initialNavigationWidth' => $this->getBackendUser()->uc['selector']['navigation']['width'] ?? 250,
'treeActions' => ['link'],
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment