[TYPO3-core] RFC: Bug 5704: IRRE - Children on the table pages get the pid of the parent page in pagetree

Oliver Hader oh at inpublica.de
Fri Jun 8 12:36:29 CEST 2007


This is a SVN patch request.

Problem:
If creating children using IRRE on a page record (table "pages"), the
pid of the parent record is taken for the child records. In case of
working on pages, IRRE child records are created on the parent page of
the one currenty edited.

Solution:
Use the *uid* of the parent record (the page record) instead of the
*pid*. Thus, new childrecords are on the page currently edited.

Comments:
On creating a new page and inserting there new child records using IRRE,
the pid for the new page is not an integer. Thus, the access to this new
page cannot be checked withing TCEforms_inline and is just passed.
If the new page could not been created because of missing access rights,
 saving the new child records will also fail in TCEmain. Thus, the check
is delegated to TCEmain automatically.
This is a bugfix concerning IRRE: If nobody objects within one week,
I'll commit this change to SVN.

Bugtracker reference:
http://bugs.typo3.org/view.php?id=5704

Branches: TYPO3_4-1 & Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005704.patch
Type: text/x-diff
Size: 2441 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070608/df12a40f/attachment.bin 


More information about the TYPO3-team-core mailing list