[BUGFIX] BE shortcuts do not show up for editors 72/31172/3
authorFrans Saris <franssaris@gmail.com>
Fri, 27 Jun 2014 18:16:16 +0000 (20:16 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sat, 28 Jun 2014 17:11:28 +0000 (19:11 +0200)
commita451f48eab140725ff857f99011e0745e9740330
tree15230034ae1ba9b091cdee17b57cf7dfe4dcfe24
parentee2dd7719711ec3786a86d8ded7dc5a085a7d7e9
[BUGFIX] BE shortcuts do not show up for editors

Due to some wrong or missing checks the link to create a shortcut
to a create new record form misses the correct name of the
"motherModName" as a result the shortcut links are not rendered
for non-admins. For admins these links do not work if PHP notices
are transformed to exceptions.

Resolves: #59946
Releases: 6.3, 6.2
Change-Id: I9acd74fd5dfefea62badc79e42e380466ce6c497
Reviewed-on: https://review.typo3.org/31172
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin SÄ…gol
typo3/sysext/backend/Classes/Form/DataPreprocessor.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Toolbar/ShortcutToolbarItem.php