Project

General

Profile

Actions

Bug #14843

closed

Links not being processed properly in extension RTE fields

Added by Steven Bagshaw over 19 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2005-06-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

My system is producing links from RTE that look like this

http://mysite.com/cms/?id=494

The index.php is missing, which causes the wrong page to appear. Upon investigation, it turns out the RTE database transformation is not occurring. Looking at the DB, the value is not stored as <LINK>, but instead as an A HREF.

Upon more investigation, it appears that the transformation is missed when the RTE field is added in an extension, but not to all TCAtypes.

I located the problem in t3lib_BEfunc::getTCAtypes(), which does not return the extension's RTE field is it is specific to a subtype, even if the subtype matches the current tt_content subtype I am looking at.

This happens when I am using both the "rte" and "rtehtmlarea" RTEs.

Here is part of my config from ext_tables.php - I have no line for t3lib_extMgm::addToAllTCAtypes()

$TCA["tt_content"]["types"]["list"]["subtypes_addlist"][$_EXTKEY."_pi2"]=" myext_adminsettings, myext_morelink,myext_rtetextfield;;;richtext[cut|copy|paste|formatblock|textcolor|bold|italic|underline|left|center|right|orderedlist|unorderedlist|outdent|indent|link|table|image|line|chMode]:rte_transform[mode=ts_css|imgpath=uploads/myext/rte/]";

The myext_rtetextfield is not transformed.
(issue imported from #M1244)

Actions #1

Updated by Ingo Renner over 16 years ago

unable to reproduce during Bugday July 2008

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF