Project

General

Profile

Actions

Bug #72605

closed

InlineControlContainer unnecessary dependency causes Problems

Added by Stefan Köske almost 9 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2016-01-08
Due date:
% Done:

0%

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

Description

\TYPO3\CMS\Backend\Form\Container\InlineControlContainer
dependency between $allowed and $onlineMediaAllowed makes it impossible to create a button for "Add Media by URL" button only. You can't create this button without creating the "Select & Upload Files" Button.

Starting from Line 478
if (
       $folder instanceof Folder
        && $folder->checkActionPermission('add')
        ) {
        // Create "Select & Upload Files" Button
        if (!empty($onlineMediaAllowed)) {
            // Create "Add Media by URL" Button
        }
}

I suggest to seperate those both if querries.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #84250: Separatly enable / disable "Add media by URL" and "Select & upload files"Closed2018-03-13

Actions
Actions #1

Updated by Riccardo De Contardi about 6 years ago

  • Related to Feature #84250: Separatly enable / disable "Add media by URL" and "Select & upload files" added
Actions #2

Updated by Riccardo De Contardi about 6 years ago

  • Category set to Backend API
Actions #3

Updated by Christian Eßl about 5 years ago

This issue has already been fixed in #84250.

Actions #4

Updated by Björn Jacob about 5 years ago

  • Status changed from New to Closed

Since the related issue has been resolved for master, I am closing this issue. It is a feature and thus cannot be backported to earlier versions.

Actions

Also available in: Atom PDF