Ticket #5674 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

SCAYT error on editor destroy

Reported by: SpellChecker.net Owned by: alfonsoml
Priority: Normal Milestone: CKEditor 3.3
Component: UI : Spell Checker Version:
Keywords: Confirmed Review+ Cc: SpellChecker.net

Description (last modified by alfonsoml) (diff)

Turn on scayt autostartup on sample page divreplace.html

Edit 1-st text block by double clicking, wait scayt run

Edit 2-nd text block:

error occurs:

plugin.getScayt() is null or not an object

Attachments

5674.patch (1.3 KB) - added by SpellChecker.net 4 years ago.
add check of SCAYT control instance existing
5674_2.patch (1.1 KB) - added by SpellChecker.net 4 years ago.
debuging code remove
5674_3.patch (1.2 KB) - added by alfonsoml 4 years ago.
Proposed patch

Change History

Changed 4 years ago by SpellChecker.net

add check of SCAYT control instance existing

Changed 4 years ago by SpellChecker.net

debuging code remove

comment:1 Changed 4 years ago by garry.yao

  • Keywords Confirmed Review- added
  • Cc SpellChecker.net added

The error is still there after the patch.

comment:2 Changed 4 years ago by SpellChecker.net

the error is different on trunk:

Error: iframe is null
Source File: http://hostname/lib/ckeditor.svn/_source/plugins/wysiwygarea/plugin.js
Line: 718

Changed 4 years ago by alfonsoml

Proposed patch

comment:3 Changed 4 years ago by alfonsoml

  • Keywords Review? added; Review- removed
  • Owner set to alfonsoml
  • Status changed from new to assigned
  • Description modified (diff)

The patch adds the protection and works for me both in trunk and 3.3 branch

comment:4 Changed 4 years ago by SpellChecker.net

works for us in trunk

comment:5 Changed 4 years ago by garry.yao

  • Keywords Review+ added; Review? removed

comment:6 Changed 4 years ago by alfonsoml

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [5502]

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy