Ticket #7014 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Samples - Ajax - error on page, when Create/Remove button is pressed one by one

Reported by: krst Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.5.1
Component: General Version: 3.5.1
Keywords: IE6 Cc:

Description

Test case

  • Open Ajax sample in IE6
  • Press Create editor
  • Press Remove editor, right after (before editor is enabled)
  • Press Create editor

Expected result
Editor is loaded after the second press of Enable button.

Actual result Error is thrown

line 141
char 237
error: 'element' is null or not an object
code: 0

Error does not occur in previous versions of samples.
Error does not occur in other browsers.

Probably IE6 is much slower in refreshing new ajax sample.

Attachments

7014.patch (2.7 KB) - added by garry.yao 3 years ago.

Change History

comment:1 Changed 3 years ago by garry.yao

  • Status changed from new to confirmed

Regression of [6335].

comment:2 Changed 3 years ago by wwalc

I was able to trigger a JS error in all versions of the editor (starting from 3.0) using the Ajax sample ("theme is null or not an object", "Permission denied" and other random issues).

Changed 3 years ago by garry.yao

comment:3 Changed 3 years ago by garry.yao

  • Status changed from confirmed to review
  • Owner set to garry.yao

We should make sure no error when request to destroy editor before editor finished loading.

comment:4 Changed 3 years ago by wwalc

  • Milestone set to CKEditor 3.5.1

comment:5 Changed 3 years ago by krst

Patch solved problem on my side.

comment:6 Changed 3 years ago by wwalc

Pls check #7012 as well while reviewing this one.

comment:7 Changed 3 years ago by Saare

  • Status changed from review to review_passed

#7012 is also fixed with this patch.

comment:8 Changed 3 years ago by garry.yao

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

Fixed with [6366].

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