wikifield editor doesn’t load in Internet Explorer

Bug #1032189 reported by Matthias Ronge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Goobi.Production
Status tracked in 1.10
1.10
New
Undecided
Unassigned
1.8
Fix Released
High
Matthias Ronge

Bug Description

When you accept editing a task, there is a free text field which is equipped with a comfortable HTML editor. The editor doesn’t load in Internet Explorer, you are presented with the HTML source in a multi line text input box. Internet Explorer’s console throws the following error when loading the page:

SCRIPT1028: Bezeichner, Zeichenfolge oder Zahl erwartet
AktuelleSchritteAlle.jsf, Zeile 533 Zeichen 9

This refers to the last line of the following Javascript block:

        tinyMCE.init({
         mode : "exact",
         elements : "htmleditorform:myTextArea",
         theme : "advanced",
         width : "100%",
          height : "200",
          plugins : "safari,pagebreak,style,table,save,advhr,emotions,iespell,inlinepopups,insertdatetime,preview,print,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking",

         // Theme options
         theme_advanced_buttons1 : "save,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontsizeselect",
         theme_advanced_buttons2 : "",
         theme_advanced_buttons3 : "",
         theme_advanced_toolbar_location : "top",
         theme_advanced_toolbar_align : "left",
         theme_advanced_statusbar_location : "bottom",
         theme_advanced_resizing : true,
        });

Related branches

Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote : AW: [Bug 1032189] [NEW] wikifield editor doesn’t load in Internet Explorer
Download full text (3.6 KiB)

Confirmed for IE9 64 Bit

Ralf Claußnitzer

> -----Ursprüngliche Nachricht-----
> Von: <email address hidden> [mailto:<email address hidden>] Im Auftrag
> von Matthias Ronge
> Gesendet: Donnerstag, 2. August 2012 15:49
> An: Claussnitzer, Ralf
> Betreff: [Bug 1032189] [NEW] wikifield editor doesn’t load in Internet Explorer
>
> Public bug reported:
>
> When you accept editing a task, there is a free text field which is equipped with
> a comfortable HTML editor. The editor doesn’t load in Internet Explorer, you are
> presented with the HTML source in a multi line text input box. Internet
> Explorer’s console throws the following error when loading the page:
>
> SCRIPT1028: Bezeichner, Zeichenfolge oder Zahl erwartet
> AktuelleSchritteAlle.jsf, Zeile 533 Zeichen 9
>
> This refers to the last line of the following Javascript block:
>
> tinyMCE.init({
> mode : "exact",
> elements : "htmleditorform:myTextArea",
> theme : "advanced",
> width : "100%",
> height : "200",
> plugins :
> "safari,pagebreak,style,table,save,advhr,emotions,iespell,inlinepopups,insertd
> atetime,preview,print,contextmenu,paste,fullscreen,noneditable,visualchars,no
> nbreaking",
>
> // Theme options
> theme_advanced_buttons1 :
> "save,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,
> justifyfull,|,formatselect,fontsizeselect",
> theme_advanced_buttons2 : "",
> theme_advanced_buttons3 : "",
> theme_advanced_toolbar_location : "top",
> theme_advanced_toolbar_align : "left",
> theme_advanced_statusbar_location : "bottom",
> theme_advanced_resizing : true,
> });
>
> ** Affects: goobi-production
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Goobi.Production.
> https://bugs.launchpad.net/bugs/1032189
>
> Title:
> wikifield editor doesn’t load in Internet Explorer
>
> Status in Goobi.Production:
> New
>
> Bug description:
> When you accept editing a task, there is a free text field which is
> equipped with a comfortable HTML editor. The editor doesn’t load in
> Internet Explorer, you are presented with the HTML source in a multi
> line text input box. Internet Explorer’s console throws the following
> error when loading the page:
>
> SCRIPT1028: Bezeichner, Zeichenfolge oder Zahl erwartet
> AktuelleSchritteAlle.jsf, Zeile 533 Zeichen 9
>
> This refers to the last line of the following Javascript block:
>
> tinyMCE.init({
> mode : "exact",
> elements : "htmleditorform:myTextArea",
> theme : "advanced",
> width : "100%",
> height : "200",
> plugins :
> "safari,pagebreak,style,table,save,advhr,emotions,iespell,inlinepopups,insertd
> atetime,preview,print,contextmenu,paste,fullscreen,noneditable,visualchars,no
> nbreaking",
>
> // Theme options
> theme_advanced_buttons1 :
> "save,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,
> justifyfull,|,formatselect,fontsizeselect...

Read more...

Changed in goobi-production:
status: New → Triaged
Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

Its an easy fix: remove last comma before "});" and it will works on IE 8 (Windows XP). Patch attached.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.