Project

General

Profile

Actions

Bug #90860

closed

Private vimeo videos are stored as ".vimeo" in the file list

Added by Marc Hirdes about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2020-03-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A costumer of us has some struggle with adding vimeo videos to the file list.

He tried to uploaded some vimeo videos which are currently not public, but will be in the future.

If you add a private vimeo video to the file list, then data is stored in a file named ".vimeo". This file is not shown in the file list, so the user can not delete it. If the user tries to upload the video again, the already existing .vimeo file is returned, even if the video now is public. And again the user can not select or delete the file.

Fix: If the API dose not receive a title for the current vimeo, then use the given ID for the file name.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #87529: AbstractOEmbedHelper::transformMediaIdToFile() must check if $oEmbed['title'] is set before using it.Closed2019-01-23

Actions
Actions #1

Updated by Marc Hirdes about 4 years ago

in typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/AbstractOEmbedHelper.php Line 50

if (!empty($oEmbed)) {

change into

if (!empty($oEmbed) && !empty($oEmbed['title'])) {

would solve this problem.

Actions #2

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Closed

Thanks for creating this issue! This has been fixed with #87529, see https://review.typo3.org/c/Packages/TYPO3.CMS/+/59878 for the review.

However as 8 is near end of life and only critical issues are backported this did only make it into 10 + 9. I am closing this issue as duplicate

Actions #3

Updated by Georg Ringer about 4 years ago

  • Is duplicate of Bug #87529: AbstractOEmbedHelper::transformMediaIdToFile() must check if $oEmbed['title'] is set before using it. added
Actions

Also available in: Atom PDF