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 #1

Updated by Ralf Hettinger about 15 years ago

gosh...

=> this link will not be processed and therefore be stored as (well, you have to imagine the tag brackets, they're filtered in bugtracker...) a href="..." [] /a instead of <link ...>[]</link> to database.

May be duplicate of #14843

Actions #2

Updated by Caspar Stuebs over 14 years ago

This problem also occurs, if there are fields defined by subtypes (subtypes_addlist, subtypes_excludelist, bitmask_excludelist_bits)

Actions #3

Updated by Michael Stein about 14 years ago

It would be really cool if this patch come into the core.
A well formed backend is the first step to make people happy.

Actions #4

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #5

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF