CMS MADE SIMPLE FORGE

TinyMCE

 

[#7350] Opera 11.60 doesn't save content in WYSIWYG view

avatar
Created By: Bernd Klenk (klenkes)
Date Submitted: Wed Dec 14 10:17:45 -0500 2011

Assigned To: Morten Poulsen (silmarillion)
Version: 2.9.4
CMSMS Version: None
Severity: Minor
Resolution: Works For Me
State: Closed
Summary:
Opera 11.60 doesn't save content in WYSIWYG view
Detailed Description:
If WYSIWYG is turned OFF, new or edited content is saved prperly, but with
WYSIWYG turned ON content isn't saved at all.
Opera error console throws javascript errors like:

[14.12.2011 16:14:49] JavaScript -
http://xxx.de/48gpkadmin35/editcontent.php?_sx_=89d28be0&content_id=16&page=
Event thread: load
Uncaught exception: DOMException: INDEX_SIZE_ERR
Error thrown at line 1, column 182282 in <anonymous function: setRng>(i) in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    g.selectedRange=h.getRangeAt(0)
called from line 1, column 185425 in <anonymous function: normalize>() in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    g.setRng(f)
called from line 1, column 310137 in <anonymous function: setContent>(u, s) in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    r.selection.normalize();
called from line 1, column 308282 in <anonymous function: load>(s) in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    q=p.setContent(d(r.value)?r.value:r.innerHTML,s);
called from line 1, column 291055 in <anonymous function: setupIframe>() in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    q.load({initial:true,format:"html"});
called from line 1, column 280005 in <anonymous function: init>() in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    H.setupIframe()
called from line 1, column 276260 in <anonymous function: render>() in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    u.init()
called via Function.prototype.call() from line 1, column 197682 in <anonymous
function: o>(s) in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    s.func.call(s.scope)
called via Function.prototype.call() from line 1, column 3696 in <anonymous
function: each>(i, f, h) in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    j=0,g=i.length
called from line 1, column 197499 in <anonymous function: o>() in
http://xxx.de/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js:
    a.each(d,function(s){s.func.call(s.scope)});

Maybe it's an Opera problem maybe it's not. I can't tell. But versions prior to
11.60 worked perfectly.


History

Comments
avatar
Date: 2011-12-24 12:10
Posted By: Bernd Klenk (klenkes)

I found out that only if HTML tags are present in the content the erros occur
and nothing is saved. Without HTML tags, lets say a module call, the content is
saved and no errors are thrown.
      
avatar
Date: 2012-02-24 06:34
Posted By: Martin Malý (natrim)

the problem is in tinymce javascript

http://my.opera.com/XP1/blog/2011/07/21/tinymce-javascript-error-in-opera-getrangeat-index-size-err
      
avatar
Date: 2012-04-04 18:13
Posted By: Morten Poulsen (silmarillion)

can I ask you to reconfirm with latest TinyMCE and latest opera? I don't use
opera, but I guess it should work...
      
avatar
Date: 2012-04-05 05:20
Posted By: Bernd Klenk (klenkes)

Unfortunately it doesn't.
To be on the safe side I deleted all cache files manually and reseted Tiny to
its default settings.
I tested on CMSMS 1.10.3 with Tiny 2.9.6 and Opera 11.62(latest) and it shows
the same behaviour.

With only one WYSIWYG content block I am able to switch WYSIWYG off and on
again.
With two WYSIWYG content blocks the blocks get mixed up and after two attempts
swithing off and on doesn't work att all anymore.

However:
In both cases editing and saving works as long as no HTML tags are present!
As soon as a simple <strong>Text</strong> is present nothing is saved anymore.

If a page with HTML tags is opened the path(in Tiny footer) doesn't show any
path values either.

I only wish I could give you more hints but I can't.
      
avatar
Date: 2012-04-14 07:37
Posted By: Bernd Klenk (klenkes)

I have to appologize for forgetting natrims post above!
The fix from Opera blog worked for me.


I tested on CMSMS 1.10.3 with Tiny 2.9.4 and 2.9.6 and Opera 11.62 and
everything works perfekt now.
      
avatar
Date: 2012-04-14 09:10
Posted By: Bernd Klenk (klenkes)

After further testing I noticed that another problem is brought up by the fix.
If you mark a word in the middle of a sentence, i.e. to make it bold, Tiny
extends the marking back to the opening tag of the paragraph. Since the fix is
about range... there is something wrong.

Unfortunately with this drawback the fix is of no use.
      
avatar
Date: 2015-05-26 22:44
Posted By: jackets (jackets)

Is selfish, prevalence of individualism, money worship, just want to ask for,
don't want to sacrifice, only speak right, don't tell obligation,
http://www.secondnaturecanvas.com/ responsibility consciousness is so weak.
      
avatar
Date: 2016-02-12 13:23
Posted By: Rolf (rolf1)

TinyMCE version 3.x is released, the module is a complete rewrite of all code.

Because of this, bug reports related to the old version are not relevant anymore
and will be closed. Please use the latest and finest release at your CMSMS 2.x
website and test again. If you feel like your issue still isn't fixed create a
new report. Thanks.
      
Updates

Updated: 2016-02-12 13:23
cmsms_version_id: 29321 => -1
state: Open => Closed

Updated: 2012-04-14 07:37
resolution_id: 5 => 11

Updated: 2011-12-24 12:10
description: If WYSIWYG is turned OFF, new or edited content is saved prperly, but with WYSIWYG turned ON content isn't saved at all. Opera error console throws javascript errors like: [14.12.2011 16:14:49] JavaScript - http://neu.geiselmann-printkommunikation.de/ => If WYSIWYG is turned OFF, new or edited content is saved prperly, but with WYSIWYG turned ON content isn't saved at all. Opera error console throws javascript errors like: [14.12.2011 16:14:49] JavaScript - http://xxx.de/48gpkadmin35/editcontent.php?_
resolution_id: => 5