Actions
Bug #79128
closed"Record history" is shown, even if hidden with TSConfig
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-01-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The tsconfig
options.showHistory = 0
is not respected in TYPO3\CMS\Backend\Controller\EditDocumentController in the getButtons() method in the making of the buttonbar.
Actually, a "Record History" buttons is being rendered twice but the TSconfig condition is only checked once.
In the first case, a condition only checks if there is any history
and then renders the button.
On line 1400
the condition is checked with the "getNewIconMode" method and respect if it's hidden
Actions