[TYPO3-core] FYI24 Bug #8212: IRRE - Adding new child elements does not work on root page

Oliver Hader oliver at typo3.org
Sun May 3 01:30:21 CEST 2009


The following changes will be commited to the mentioned SVN branches
within the next 24 hours if nobody objects.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=8212

Branches: TYPO3_4-2 & Trunk

Problem:
New items can't be added for elements which are attached to the root
page ("page uid 0") because the access check tries to look up the page
in the database and examine the returned records. As the root page does
not really exist, there are no records returned and so the create action
gets rejected.

Solution:
Since admin users can access the root page, skip the access checks in
IRRE for admin users.

Notes:
Thanks to Alistair MacDonald for pointing this out and providing an
initial patch.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0008212_v2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090503/22e77669/attachment.txt 


More information about the TYPO3-team-core mailing list