Feature #16253
closedtslib_fe::getStorageSiterootPids: get all storage-pids in whole rootline
0%
Description
Quite a number of extensions rely on the storage-pid in the page-header to find out where to take records from, e.g. TemplaVoila, all FE-logins, ldap_server etc.
This could cause a problem, e.g. when you have stored your FE-users on a different page for the sake of clarity. tslib_fe::getStorageSiterootPids only returns the first storage-pid found in the rootline, so if you have set the storage-pid of a page to the folder with FE-users, you can't access any objects in folders you have set as a storage-folder on the root-page of your site.
I extended getStorageSiterootPids to return two new items in the $res-array. One contains all storage-pids in the whole rootline and the other one only the storage-pids up to the root of the website. I have attached a patchfile with the changes.
(issue imported from #M3692)
Files
Updated by Andreas Wolf over 18 years ago
My patchfile contained a small, but fatal error... Please only use the 3692_new.patch!
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0) - PHP Version deleted (
4)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.