New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item11382: Javascript error with IE7 causes Format dropdown to fail on nested webs

Priority: Urgent
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Extension
Component: TinyMCEPlugin
Branches: Release01x01 trunk
Reported By: EricLandrieu
Waiting For: Main.EricLandrieu
Last Change By: GeorgeClark
Using Foswiki 1.1.3, IE7 browser To reproduce: Try to edit a page in a nested web (e.g. I created one called Main.Test where I can reproduce this at will) The Format dropdown at the top of the editor does not seem to fire updates when you change its value (normally, changing the format changes the look of the text at the caret). IE reports a Javascript error as follows when loading the edit screen:
Line: 6 Char: 1690 Error: This name may not contain the '/' character.

autosaveMain-->/<--Test.WebHome Code: 0 URL: http://[hostname]/bin/edit/Main/Test/WebHome?t=1324495423

The same edit of an identical page on a "top-level" web works fine.

-- EricLandrieu - 21 Dec 2011

Hi Eric,

Firstly, what version of TinyMCEPlugin? Could you please try upgrading?

Secondly, if that doesn't cure the problem, try disabling autosave plugin, do something like this in your Main.SitePreferences:
   * Set TINYMCEPLUGIN_MCEPLUGINS = contextmenu, table, searchreplace, paste, legacyoutput, inlinepopups, fullscreen, foswiki, foswikibuttons, foswikiimage 

Raised to urgent

-- PaulHarvey - 22 Dec 2011

Confirmed in 1.1.4, probably earlier too.

-- PaulHarvey - 22 Dec 2011

I think this bug was IE7-only. Reproduced in IE7, not IE8. Didn't have IE9 to test, but reading the code, IE9 has a different localstorage save strategy anyway.

Eric, I released a new version of TinyMCEPlugin that should fix this bug. Please upgrade and let us know if that fixes the problem.

-- PaulHarvey - 22 Dec 2011

Paul, That did the trick. Works fine in IE7. Thanks!

-- EricLandrieu - 27 Dec 2011

Thanks for a great bug report, and letting us know the fix worked!

-- PaulHarvey - 28 Dec 2011

ItemTemplate edit

Summary Javascript error with IE7 causes Format dropdown to fail on nested webs
ReportedBy EricLandrieu
Codebase 1.1.4, 1.1.4 RC2, 1.1.4 RC1, 1.1.4 beta2, 1.1.4 beta1, 1.1.3, trunk
SVN Range
AppliesTo Extension
Component TinyMCEPlugin
Priority Urgent
CurrentState Closed
WaitingFor EricLandrieu
Checkins distro:1f6471fa6c05 distro:00735365f5e0
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:00735365f5e0
Release01x01Checkins distro:1f6471fa6c05
Topic revision: r9 - 11 Apr 2012, GeorgeClark - This page was cached on 20 Sep 2018 - 16:32.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy