Project

General

Profile

Actions

Bug #80210

closed

Online media preview image generation fails if read permission for the video files are missing

Added by Andreas Allacher over 7 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2017-03-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If a user adds a video (e.g. YouTube) to a content element and places that in the folder "foo".

Then you clear the processed files in the Install tool and use another user that has no access at all to the folder "foo" (e.g. outside folder mounts),
accessing the page using the page module or editing the content element will result in an exception.

The reason is that the online media helpers use getContents (to retrieve the online media ID) on the .youtube file which calls assureFileReadPermission()
when retrieving the corresponding preview image.

Actions

Also available in: Atom PDF