Project

General

Profile

Actions

Bug #36906

closed

TCEform shows empty tab

Added by Alexander Jahn over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
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

empty_tab.JPG (41.1 KB) empty_tab.JPG empty tab is activated and no content is shown Alexander Jahn, 2012-05-07 10:06
template.php.diff (1.01 KB) template.php.diff patch to fix the problem Alexander Jahn, 2012-05-07 10:06
Actions

Also available in: Atom PDF