Project

General

Profile

Bug #94670

Updated by Benjamin Gries Gries almost 3 years ago

We found out that the Redirects module can't handle it if a site configuration variable (so for example storagePid = {$pids.news}) is used for the storagePids in the linkHandler instead of a hardcoded UID uid (so for example storagePid = 5). 

 The main problem is that in the context of the redirects module the getPagesTSconfig function of the BackendUtility has PID 0 (because the redirects are on PID 0), therefore no (default) page configuration is found and accordingly the parsing of the TSConfig cannot take place correctly. 

 The corresponding variable in the RecordLinkHandler ($this->expandPage) then falls back to pid 0 (because the redirects are on PID 0, see above), which is adverse for non-admin users because they are not allowed to access the page. The non-admin user cannot use the LinkHandler accordingly.

Back