Project

General

Profile

Actions

Bug #16569

closed

New content elements wizard removes CE from array, which are OK!

Added by Marc Bastian Heinrichs over 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2006-09-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

class SC_db_new_content_el has function removeInvalidElements to remove CE the user has no rights for or which are defined by TSconfig CType.removeItems.

The function checks values of tt_content_defValues towards removeItems instead the CType key. So CEs where an tt_content_defValues value is zero, are removed.

[OK, zero tt_content_defValues are unnecessary, but otherwise this bug would be undiscovered]

(issue imported from #M4226)


Files

4226.patch (554 Bytes) 4226.patch Administrator Admin, 2006-09-15 14:13
0004226.patch (717 Bytes) 0004226.patch Administrator Admin, 2007-05-12 14:24
Actions

Also available in: Atom PDF