[TYPO3-core] RFC: Bug 5704: IRRE - Children on the table pages get the pid of the parent page in pagetree
Michael Stucki
michael at typo3.org
Thu Jun 14 00:13:54 CEST 2007
Hi Oliver,
you should have mentioned that you created a test extension to check if this
works!
Just tested it, works great, +1!
- michael
Oliver Hader wrote:
> 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
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list