Opened 3 years ago
Closed 3 years ago
#1486324 closed Bugs (worksforme)
Send mail fail
| Reported by: | nidelius | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4-beta |
| Component: | User Interface | Version: | 0.3-stable |
| Severity: | major | Keywords: | |
| Cc: |
Description
When clicking send from opera I get the following exception.
JavaScript? - https://hmail/?_task=mail&_id=58524b14cb3ceaf42&_action=compose
Event thread: click
Unhandled exception: [Object RangeException?]
name: Error
message: INVALID_NODE_TYPE_ERR
stacktrace: Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(k,j,n){var o=this,f=o.createRng(),l,i,m;function g(q,p){q=q[p];if(q&&q[p]&&q[p].nodeType==1&&h(q[p])){o.remove(q[p])}}function h(p){p=o.getOuterHTML(p);p=p.replace(/<(img|hr|table)/gi,"-");p=p.replace(/<[>]+>/g,"");return p.replace(/[ \t\r\n]+| | /g,"")==""}if(k&&j){f.setStartBefore(k);f.setEndBefore(j);l=f.extractContents();f=o.createRng();f.setStartAfter(j);f.setEndAfter(k);i=f.extractContents();m=k.parentNode;g(l,"lastChild");if(!h(l)){m.insertBefore(l,k)}if(n){m.replaceChild(n,j)}else{m.insertBefore(j,k)}g(i,"firstChild");if(!h(i)){m.insertBefore(i,k)}o.remove(k);return n j}}
Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(m){i.dom.split(i.dom.getParent(m,"p"),m)}
... Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(d,a,c){var e,b;if(!d){return 0}c=c d;if(typeof(d.length)!="undefined"){for(e=0,b=d.length;e<b;e++){if(a.call(c,d[e],e,d)===false){return 0}}}else{for(e in d){if(d.hasOwnProperty(e)){if(a.call(c,d[e],e,d)===false){return 0}}}}return 1} Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(k,l){f(i.dom.select("p table",l.node),function(m){i.dom.split(i.dom.getParent(m,"p"),m)})}
... Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(){var f,d=arguments,e,b=this.listeners,g;for(e=0;e<b.length;e++){g=b[e];f=g.cb.apply(g.scope,d);if(f===false){break}}return f}
Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(l,k){var j,i=this;i._setup();k=k {};k.format=k.format "html";i.processObj=k;l=l.cloneNode(true);i.key=""+(parseInt(i.key)+1);if(!k.no_events){k.node=l;i.onPreProcess.dispatch(i,k)}i.writer.reset();i._serializeNode(l,k.getInner);k.content=i.writer.getContent();if(!k.no_events){i.onPostProcess.dispatch(i,k)}i._postProcess(k);k.node=null;return e.trim(k.content)} Line 1 of linked script https://hmail/program/js/tiny_mce/tiny_mce.js?s=1240817786
function(s){var q=this,r;s=s {};s.format=s.format "html";s.get=true;if(!s.no_events){q.onBeforeGetContent.dispatch(q,s)}if(s.format!="raw"&&q.settings.cleanup){s.getInner=true;r=q.serializer.serialize(q.getBody(),s)}else{r=q.getBody().innerHTML}r=r.replace(/\s*|\s*$/g,"");s.content=r;if(!s.no_events){q.onGetContent.dispatch(q,s)}return s.content} Line 1781 of linked script https://hmail/program/js/app.js?s=1252062318
if(window.tinyMCE&&tinyMCE.get(this.env.composebody)&&!tinyMCE.get(this.env.composebody).getContent()&&!confirm(this.get_label("nobodywarning"))){
Line 801 of linked script https://hmail/program/js/app.js?s=1252062318
if(!this.check_compose_input()){
Line 1 of function script
return rcmail.command('send',,this)
...
Change History (3)
comment:1 Changed 3 years ago by alec
- Component changed from Core functionality to User Interface
- Milestone changed from later to 0.4-beta
comment:2 Changed 3 years ago by alec
You could also check svn-trunk version, where TinyMCE code has been updated.
comment:3 Changed 3 years ago by alec
- Resolution set to worksforme
- Status changed from new to closed
No feedback. Works for me.

I'm unable to reproduce with Opera 10.10. What Opera version? Try also with 0.3.1 version. Finally, please replace tiny_mce.js with tiny_mce_src.js.