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

Ralf Hettinger ng at ralfhettinger.de
Wed May 21 21:27:10 CEST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6012.patch
Type: text/x-patch
Size: 1007 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080521/dd65e9ab/attachment.bin 


More information about the TYPO3-team-core mailing list