[BUGFIX] BE shortcuts do not show up for editors 98/31198/2
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:48 +0000 (19:11 +0200)
commit5ea7a88ff5511a69eb3d9f8eed784022c1f047b0
treeb5151c2b969c72dec02694ec3e965a11beff10a2
parente92c8680cbef1701c8ce28d151c11b40b5af8416
[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/31198
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Form/DataPreprocessor.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Toolbar/ShortcutToolbarItem.php