[TYPO3-core] RFC: Bugfix #12643: Palette fields not always processed

Ralf Hettinger ng at ralfhettinger.de
Fri Nov 20 22:25:49 CET 2009


This is an SVN patch request.

Type: Bugfix

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

Branches: trunk

Problem:
When using t3lib_BEfunc::getTCAtypes, you will only get the fields back
that are configured as 'types' fields in TCA. Fields that are rendered
within 'palettes' will not be returned, though they are visible if
referenced by fields of the corresponding type.
This will result in problems if you e.g. configure RTE fields as palette
fields, since the processing of these fields won't take place through
tcemain, which relies on t3lib_BEfunc::getTCAtypes (that's were I came
across the issue...).

How to reproduce:
1) put an RTE field into some palette.
2) insert a link into this RTE field
3) save :)
=> this link will not be processed and therefore be stored to database
as <a href="...">[]</a> instead of <link ...>[]</link> .

Solution:
t3lib_BEfunc::getTCAtypes should return fields as well, which are in
referenced palettes.


Cheers,
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0012643-4.3-RC1.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091120/c42f1eee/attachment.txt>


More information about the TYPO3-team-core mailing list