6.0.0-beta1
9/20/25

[#3797] Spellchecking forwarded messages
Summary Spellchecking forwarded messages
Queue DIMP
Type Bug
State Resolved
Priority 1. Low
Owners
Requester horde (at) eltofts (dot) homelinux (dot) com
Created 04/20/2006 (7093 days ago)
Due
Updated 04/20/2006 (7093 days ago)
Assigned 04/20/2006 (7093 days ago)
Resolved 04/20/2006 (7093 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/20/2006 09:05:09 PM Chuck Hagenbuch Comment #8
State ⇒ Resolved
Reply to this comment
Once again I'm befuddled, this time by how my previous fix had any 
effect at all. NOW it's actually fixed.
04/20/2006 06:42:07 PM horde (at) eltofts (dot) homelinux (dot) com Comment #7 Reply to this comment
yes, that's exactly as it appears on my copies.



Don't know how accurate the js errors are, but it said line 328 which 
is 2 above the links[i] = null; line.
04/20/2006 06:36:10 PM Chuck Hagenbuch Comment #6 Reply to this comment
And you're _positive_ that the for loop in the resume: function looks 
like this?



         for (var i = links.length - 1; i >= 0; --i) {

             
this.reviewDiv.insertBefore(document.createTextNode(links[i].innerHTML), 
links[i]);

             this.reviewDiv.removeChild(links[i]);

             links[i] = null;

         }



The "links[i] = null;" line is the critical one, that's what fixed the 
problem for me.
04/20/2006 06:22:25 PM horde (at) eltofts (dot) homelinux (dot) com Comment #5 Reply to this comment
ok, here's what I get:



[Exception... "Node was not found" code: "8" nresult: "0x80530008

(NS_ERROR_DOM_NOT_FOUND_ERR)" location:

"http://192.168.0.250/horde/dimp/js/SpellChecker.js Line: 328"]


04/20/2006 06:09:19 PM Chuck Hagenbuch Comment #4 Reply to this comment
If you still have problems, please apply this patch to js/src/SpellChecker.js:



Index: SpellChecker.js

===================================================================

RCS file: /repository/dimp/js/src/SpellChecker.js,v

retrieving revision 1.6

diff -u -r1.6 SpellChecker.js

--- SpellChecker.js     20 Apr 2006 04:38:45 -0000      1.6

+++ SpellChecker.js     20 Apr 2006 18:07:31 -0000

@@ -309,6 +309,7 @@

       */

      resume: function()

      {

+try {

          if (this.choicesDiv) {

              this.choicesDiv.parentNode.removeChild(this.choicesDiv);

              this.choicesDiv = null;

@@ -342,6 +343,7 @@

          if (this.onAfterSpellCheck) {

              this.onAfterSpellCheck();

          }

+} catch (e) { alert(e); }

      },



      /**



then copy js/src/SpellChecker.js to js/SpellChecker.js. Reload, and 
when you click resume you should get an alert with the exception 
causing failure in it.
04/20/2006 05:55:59 PM horde (at) eltofts (dot) homelinux (dot) com Comment #3 Reply to this comment
Yes, cleared the cache, restarted windows, disabled PHP acceleration 
and restarted the server. Also tried a machine & browser that had 
never seen Dimp before.



I'm doing another cvs update just in case, but for some reason it's 
going really slow here at the moment.
04/20/2006 02:24:34 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Are you _sure_ that you cleared your cache in FF and got the latest JS code?
04/20/2006 01:03:20 PM horde (at) eltofts (dot) homelinux (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Spellchecking forwarded messages
Queue ⇒ DIMP
State ⇒ Unconfirmed
Reply to this comment
A recent CVS update partially fixed the problem whereby clicking 
"Resume Editing" would have no effect. For me the problem is fixed in 
IE but persists in Firefox (v1.5.0.2)

Saved Queries