Actions
Bug #70651
closedShortcutButton throws InvalidArgumentException in ButtonBar if user is not allowed to create shortcuts
Start date:
2015-10-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
ShortcutButton has the following isValid method:
public function isValid() { $this->preProcess(); return ( $this->getBackendUser()->mayMakeShortcut() && !empty($this->moduleName) ); }
So if the user isn't allowed to create a shortcut it will throw an exception which is not handled in e.g. EditDocumentController
Actions