[TYPO3-core] RFC: Bug #3544: RTE-config in PageTS-config not loaded when in draft-workspace
Michael Stucki
michael at typo3.org
Fri Nov 17 20:48:38 CET 2006
This is a SVN patch request.
Problem:
"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."
Solution:
"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)"
Bugtracker reference:
http://bugs.typo3.org/view.php?id=3544
Branches: TYPO3_4-0 & Trunk
Comments:
- Solution is written by Andreas Wolf - thanks!
- I did not test this by myself yet - will do next week before committing,
just wanted to let you have a look now already...
Michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_3544.diff
Type: text/x-diff
Size: 1272 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061117/b71e772a/attachment.bin
More information about the TYPO3-team-core
mailing list