1

Topic: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

just upgraded to latest .net version

When i select an image in IE9 i get -> SCRIPT5009: 'Array' is undefined

what is the status on this bug ??

the log says....

Version 3.1.2.8 (2011-03-21)
    Fixed bug with IE 9 not closing the dialog without an error.

is there a hotfix avaliable ?

please reply with the status of this bug

2

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Can't reproduce it on the examples on this site. Probably a version issue with IE9 or cache isssue.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Getting this issue as well.  Found what I think the cause is, but don't have a long term workaround.

I am using the MCImageManager in standalone mode with no TinyMCE editor instances and all works fine. (this is Page1)  On another page I have MCImageManager standalone and a single TinyMCE editor instance.  On that page selecting the image fails in IE9. (this is Page2)

It looks like the standalone instance is inheriting settings from the main TinyMCE editor instance.  In Page1 when selecting the choose button, I get a seperate popup.  In Page2 it looks like it's using the inlinepopups plugin instead of opening in a real popup.

Removing the inlinepopups from the TinyMCE editor fixes the problem, but obviously I would prefer that I could have the inlinepopups enabled for the editor and have it not affect the standalone MCImageManager.  I assume that there are additional settings that are being carried over as well, which would likely be undesireable.

Any help appreciated.

4

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

If I can't reproduce it I can't fix it. Upgrade to the latest versions. Check if it can be reproduced at: http://tinymce.moxiecode.com/tryit/full.php

Best regards,
Spocke - Main developer of TinyMCE

5

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

The problem will never happen with your default examples because they do not include both the TinyMCE MCImageManager button AND the standalone MCImageManager on the same page.  To replicate the issue you have to be using MCImageManager both ways on the same page.

Is there a preferred method you would like me to supply some sample html?

6

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Still couldn't reproduce it. Using the following steps.

This is what I tried:
1. I added the imagemanager/filemanager to the plugins directory if tinymce.
2. Added the imagemanager/filemanager to the plugins list of the tinymce/examples/full.html file.
3. Added the mcimagemanager.js script to the tinymce/examples/full.html page as well.
4. Added a form item to the page so that one could pick a file and insert to that form.
5. Verified that I could both pick a image inside tinymce and in the form item.

Could you send me a page where this can be reproduced?

Best regards,
Spocke - Main developer of TinyMCE

7

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

spocke wrote:

Can't reproduce it on the examples on this site. Probably a version issue with IE9 or cache isssue.

I got the same.

I use IE9  and prototype.js

when I add the inlinepopups plugin to mceEditor,the SCRIPT5009 occured after I insert image from MCImageManager.


    tinyMCE.init({
        mode: 'textareas',
        theme: 'advanced',
        editor_selector: 'editor',
        language: 'zh-cn',
        plugins: 'autolink,lists,style,table,advhr,advimage,advlink,inlinepopups,preview,media,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,imagemanager',

        // Theme options
        theme_advanced_buttons1: 'code,fullscreen,preview,|,cut,copy,paste,undo,redo,|,insertfile,insertimage,|,image,anchor,media,charmap,link,unlink,tablecontrols',
        theme_advanced_buttons2: 'bold,italic,underline,strikethrough,|,sub,sup,|,bullist,numlist,|,forecolor,backcolor,formatselect,fontselect,fontsizeselect,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote',
        theme_advanced_buttons3: '',
        theme_advanced_toolbar_location: 'top',
        theme_advanced_toolbar_align: 'left',
        theme_advanced_statusbar_location: 'bottom',
        theme_advanced_resizing: true,

        // Skin options
        skin: 'o2k7',
        skin_variant: 'silver',

        //
        verify_html: false,
        apply_source_formatting: false,
        element_format: 'xhtml',
        force_p_newlines: false,
        preformatted: false
    });

8

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

What else can we do to help you get this issue reproduced? I have a few unique mobile analytics and IT service capabilities if you need any help in that regard. Let me know what I can do and I would love to help track and fix whatever is going on. You can reach me on the e-mail in my profile right now, but I would hurry because I might be getting a new job soon as my resume was recently submitted a various number of IT staffing agencies.

Last edited by editaway (2011-12-28 19:41:20)

9

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

1) Make sure you have the latest version of TinyMCE.
2) Make sure you have the latest version of IE9. We don't support RC or beta releases.
3) If it can be reproduced on the examples on this site file a bug report.

Best regards,
Spocke - Main developer of TinyMCE

10

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

I'm not getting the 'Array' is undefined error anymore, but I am getting an issue with inlinepopups which lchrennew is also having issue with.

http://fiddle.tinymce.com/ADaaab/5

The button to choose an image, above the tinymce box, shouldn't be inheriting the inlinepopups plugin setting from the tinmce init call.  At least my expectation is that the image selector should be in a popup window.

11

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

We are moving to inline dialogs for all products. So future releases will not have any native windows.

Best regards,
Spocke - Main developer of TinyMCE

12

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

The issue isn't the pop-ups, it's a symptom.  The issue is that the config for one instance is being used in another.  If you're saying that the pop-ups is the only config option being leaked, then that's not a huge deal, but I suspect there are more configuation options being leaked.

13

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Hello!

How it's going with fixing bug about "SCRIPT5009: 'Array' is undefined" in IE9?
We have purchase last version of TinyMCE ImageManager but looks like it is still not fixed.

14

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Can't reproduce any issues with IE 9 on the examples on this site. So yet it's corrected.

Best regards,
Spocke - Main developer of TinyMCE

15

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Thanks for your reply, spocke!

I resolved my issue just update my tinyMCE version to last version.
Maybe reason ot is messed files from different versions.

16

Re: just updated to .net 3128 - still get SCRIPT5009: 'Array' is undefined

Nice. smile

Best regards,
Spocke - Main developer of TinyMCE