[TYPO3-core] RFC: Bugfix 6012: Page TSconfig isn't respected for new elements in new pages

Steffen Kamper steffen at sk-typo3.de
Thu May 22 01:35:31 CEST 2008


"Ralf Hettinger" <ng at ralfhettinger.de> schrieb im Newsbeitrag 
news:mailman.1.1211398032.9162.typo3-team-core at lists.netfielders.de...
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=6012
>
> Branches: 4.2
>
>
> Problem:
> If creating new elements and new pages within the very same view (f.e. by
> rendering two subsequent TCE-Forms as used for creating new newsletters 
> within
> the direct_mail module), no Page TS config will be respected. The reason 
> for
> this behavior is that the pid of the page is not yet known since this page 
> is
> just about to be created by saving the view.
>
> A quite good example for this bug being quite annoying is indeed the 
> directmail
> extension: If you don't want to create separate user accounts for your
> newsletter creators with fewer exclude fields set (so that they create 
> direct
> mailings from within the direct mail module without all the fields of page
> records they probably don't need for a direct mail) - you're simply stuck 
> with
> the current situation.
>
>
> Solution:
> If a new page and a new element (e.g. tt_content) within this page is 
> created at
> the same time, the Page TS config of the new page's parent page is 
> considered.
>
>
> Notes:
> As Oliver Hader mentioned in bugtracker, there seems to exist a similar 
> problem
> when editing records with IRRE fields. I haven't dig deeper into the IRRE
> situation and am neither able to comment nor provide a solution to this 
> atm -
> simply lacking of time :/
>
>
> Ralf Hettinger

looks good, +1 by reading
It would be nice if olly could comment this with reference to IRRE, may be 
this method could be adapted.

vg Steffen 




More information about the TYPO3-team-core mailing list