Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
When a topic has a heading level 7 in it, editing it with the WYSIWYG editor gives the following error:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information. Undefined subroutine CGI::h7
This is with Foswiki 1.0.7, and Wysiwyg plugin 4981 (2009-09-18).
Strangely, I cannot reproduce on fw.org (
Sandbox.Heading7Test), which has the same versions.
This worked in TWiki 4.2. Unfortunately I can't test in something more recent to find out when it broke.
--
AndrewJones - 28 Oct 2009
I am using CGI version 3.15, and am running
FastCGI.
Our TWiki 4.2 also uses the same CGI version.
--
AndrewJones - 28 Oct 2009
Actually, on this site, if I edit my test topic it removes the heading leaving the plain text.
--
AndrewJones - 28 Oct 2009
Actually, HTML doesn't have a h7 - only h1-h6. The old
TinyMCEPlugin was based on
TinyMCE 2.x.
In
TinyMCE 3.x, they've become very strict about only supporting valid XHTML.
If you study the current 4981 (2009-09-18) release of
WysiwygPlugin, tml2html does actually correctly convert and transmit <h7> tags to
TinyMCE. But
TinyMCE is stripping them out when it posts to html2tml (or maybe it's the browser not recognising them as valid DOM element nodes).
I'm afraid there's not much we can do.
Upgrade your
WysiwygPlugin and
TinyMCEPlugin to the latest release versions, and if Foswiki no longer crashes when trying to convert <h7>s to/from TML, please close this bug as no action required.
--
PaulHarvey - 05 Nov 2009
Thanks for the explanation.
I have tried it on an up to date SVN based install and Foswiki no longer crashes, so will close the task.
--
AndrewJones - 05 Nov 2009