Bug #73735

Error 500 (mem exhausted) when a user has multiple filemounts

Added by Markus Klösges over 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2016-02-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #67245: Prevent information disclosure in file listClosedNicole Cordes2015-06-02

Actions
Has duplicate TYPO3 Core - Bug #75484: Error in file list module when having a read-only filemount for the same path as a normal filemountRejected2016-04-10

Actions

Also available in: Atom PDF