[TYPO3-core] RFC: Bug #12977: treeLevel in TSconfig conditions should consider the creation of new pages

Oliver Hader oliver at typo3.org
Sun Jan 10 11:37:45 CET 2010


FYI: Committed to SVN:
* TYPO3_4-3 (rev. 6746)
* Trunk (rev. 6747)

olly


Am 08.12.09 12:23, schrieb Oliver Hader:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12977
> 
> Branches: TYPO3_4-3, Trunk
> 
> Problem:
> The TSconfig condition [treeLevel = 2] counts the level of nestification
> in the pagetree. However, in the backend new pages could be created and
> the mentioned condition should consider that situation as well.
> PIDupinRootline behaves similar in the backend.
> 
> Solution:
> Increment the tree level calculated out of the rootline by one if a new
> page is being edited (TCEforms) or persited (TCEmain).
> 
> Notes:
> Two new test cases are added to the t3lib_matchCondition_backend test
> suite for this behaviour.
> 
> olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list