Project

General

Profile

Actions

Bug #65276

closed

exclude fields not showing up in "allowed excludefields" if table property rootLevel = -1

Added by Stefan Schuett over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-02-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The field "allowed excludefields" does not show fields of tables which have the property rootLevel = -1.

This is behaviour is wrong because rootLevel = -1 means that the data can exist in both page tree and root. If it exists in the page tree it should be editable by non-admins and therefore the exclude fields should be listed in allowed excludefields.

I propose to change the comparison in typo/sysext/backend/Classes/Form/Element/SuggestElement.php in the following way:

&& (empty($tableConfig['ctrl']['rootLevel'])

should be modified to

&& ($tableConfig['ctrl']['rootLevel'] != 1)

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #65277: exclude fields not showing up in "allowed excludefields" if table property rootLevel = -1Closed2015-02-24

Actions
Actions

Also available in: Atom PDF