[BUGFIX] Linkhandler - access to data outside editors pagetree 09/55009/2
authorAnke Altintop <anke.altintop@bytebetrieb.com>
Wed, 29 Nov 2017 11:02:17 +0000 (12:02 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Sat, 9 Dec 2017 23:32:28 +0000 (00:32 +0100)
Respect options.pageTree.altElementBrowserMountPoints in RecordLinkHandler

Resolves: #82250
Releases: master, 8.7
Change-Id: Ic46544c35076439b38b80656c5702ff7c9d0f87b
Reviewed-on: https://review.typo3.org/55009
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php

index c6a48d9..a8ea2a9 100644 (file)
@@ -137,6 +137,7 @@ class RecordLinkHandler extends AbstractLinkHandler implements LinkHandlerInterf
         } elseif (isset($this->linkParts['pid'])) {
             $this->expandPage = (int)$this->linkParts['pid'];
         }
         } elseif (isset($this->linkParts['pid'])) {
             $this->expandPage = (int)$this->linkParts['pid'];
         }
+        $this->setTemporaryDbMounts();
 
         $databaseBrowser = GeneralUtility::makeInstance(RecordBrowser::class);
 
 
         $databaseBrowser = GeneralUtility::makeInstance(RecordBrowser::class);