Project

General

Profile

Actions

Bug #21594

closed

palette fields not always processed (RTE related)

Added by Ralf Hettinger about 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

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 visible they may belong to certain types.

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 as <a href="...">[]</a> instead of <link ...>[]</link> to database.

Possible solution: t3lib_BEfunc::getTCAtypes should return such fields as well, that are in referenced palettes.

(issue imported from #M12643)


Files

12643_4.3-beta3.diff (1.56 KB) 12643_4.3-beta3.diff Administrator Admin, 2009-11-17 21:11
t3lib_befunc_getTCAtypes.patch (2.29 KB) t3lib_befunc_getTCAtypes.patch Administrator Admin, 2010-06-22 15:47
t3lib_befunc_getTCAtypes_merged.patch (3.42 KB) t3lib_befunc_getTCAtypes_merged.patch Administrator Admin, 2010-06-22 15:51
Actions

Also available in: Atom PDF