Actions
Bug #36906
closedTCEform shows empty tab
Start date:
2012-05-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
If a user does not have the rights to view at least one field within the first tab of a TCEform, no content is shown (see attached image).
This is due to template.php->getDynTabMenu() not checking whether the tab to be activated exists for the user or not.
Attached patch fixes the problem by checking whether the tab to be activated is rendered at all. If not, the first rendered tab is activated by default.
The patch is for TYPO3 4.7.0, the same error occurs in earlier versions as well.
Files
Actions