Bug #73735
closedError 500 (mem exhausted) when a user has multiple filemounts
100%
Description
commit d84687876f3b77883c4bdb20b7d3a0227d8774ea introduced a regression in 6.2, making the filelist module unusable for users with multiple filemounts.
Steps to reproduce:
1) install 6.2.16
2) go to filelist, create two folders 'filemount' and 'root' inside fileadmin
3) create a usergroup 'group' and add a filemount 'Fileadmin' to folder '/' and access rights to file->filelist, add listing and modify rights to tables 'file*'
3) create a usergroup 'group2' and add a filemount 'Filemount' to folder '/filemount'
4) create a user 'user' and add him to group 'group' and 'group2'
5) switch to user 'user', open filelist and navigate to Fileadmin->root.
-> see the error 500 after enabling error reporting in install tool.
"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7 bytes) in /srv/typo3_sources/typo3_src-6.2.16/typo3/sysext/core/Classes/Resource/ResourceStorage.php on line 557"
on other systems it crashes at
"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /home/mk/git/typo3_src-git/typo3/sysext/core/Classes/Utility/PathUtility.php on line 41"
git bisect showed that d84687876f3b77883c4bdb20b7d3a0227d8774ea introduced that behaviour.