Project

General

Profile

Actions

Bug #16176

closed

RTE-config in PageTS-config not loaded when in draft workspace

Added by Andreas Wolf almost 18 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-05-24
Due date:
% Done:

0%

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

Description

Custom configuration for the Rich Text Editor (and I suppose anything else that can be configured via page-TS) is not loaded when editing in a draft-workspace.

The most serious impact I noticed this has is that if you manually (i.e. via page-TSconfig) allowed special HTML-elements and attributes, e.g. <span style="...">, these elements are removed after saving to DB. This happens only in a draft-workspace, in live-workspace everthing is ok.

I further investigated this issue and found a bug in t3lib_BEfunc::getTSconfig_pidValue. This function returns the pid of the workspace-record, which is always -1, instead of the original pid. Because of this the page-TSconfig can't be loaded.
I modified this function so it returns the correct value (see attached patch-file)

(issue imported from #M3544)


Files

class.t3lib_befunc.php (139 KB) class.t3lib_befunc.php Administrator Admin, 2006-06-13 11:10
3544_new.patch (2.07 KB) 3544_new.patch Administrator Admin, 2006-06-15 20:13
bug_3544.diff (1.24 KB) bug_3544.diff Administrator Admin, 2006-11-17 20:42
bug_3544_v2.diff (1.32 KB) bug_3544_v2.diff Administrator Admin, 2007-02-06 15:55

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #16040: rte htmlarea in workspace removes textformatting, in live-mode formatting is appliedClosedMichael Stucki2006-04-13

Actions
Actions

Also available in: Atom PDF