Actions
Bug #71918
closed['appearance']['enabledControls']['new'] = false does not hide "New" button in Inline Elements
Start date:
2015-11-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If I set
['appearance']['enabledControls']['new'] = false
in the TCA Configuration of an Inline Element, I would expect that the new button is not visible in the Inline Element of the record but it still is.
Reason:
In
backend\Classes\Form\Container\InlineControlContainer.php
Line 246
// Render the level links (create new record):
$levelLinks = $this->getLevelInteractionLink('newRecord', $nameObject . '-' . $foreign_table, $config);
is always called, there is no condition to ['appearance']['enabledControls']['new'] = false
The bug occurs in 7 LTS and 6.2
Files
Actions