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
#1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47793

#2

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47793

#3

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47793

#4

Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47793

#5

Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47793

#6

Updated by Frans Saris over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47816

#8

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47816

#9

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47817

#10

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47817

#11

Updated by Frans Saris over 5 years ago

  • Status changed from Under Review to Resolved
#12

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF