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 #1

Updated by Georg Ringer over 12 years ago

  • Status changed from New to Accepted

wanna push a patch to gerrit?

Actions #2

Updated by Alexander Jahn over 12 years ago

I'd love to. However, all necessary ports are blocked by my company's firewall, which won't change.

Actions #3

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from Accepted to Resolved
  • Is Regression set to No

works on master

Actions #4

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF