Ticket #2201 (closed Bug: fixed)

Opened 6 years ago

Last modified 5 years ago

fck & updatepanel: ie6/7 crash after postback if an image or a table is selected

Reported by: orsinil Owned by: alfonsoml
Priority: Normal Milestone: FCKeditor 2.6.5
Component: General Version: FCKeditor 2.6
Keywords: Confirmed IE Review+ Cc:

Description

I have create an application with fckeditor inside an updatepanel. If inside the editor I insert an image and then select it by clicking on it, doing a postback ie6 and ie7 crashes. The same is also for a table; you can reproduce the problem using the attached project.

Attachments

testfck.zip (15.9 KB) - added by orsinil 6 years ago.
2201.patch (1.2 KB) - added by alfonsoml 5 years ago.
Proposed patch

Change History

Changed 6 years ago by orsinil

comment:1 Changed 6 years ago by w.olchawa

  • Keywords Pending WorksForMe added; updatepanel removed
  • Milestone FCKeditor 2.6.1 deleted

Could you please give us more information about what is the nature of the "crash"? Does the editor throw a JavaSrcipt error? I've tested your page and IE didn't throw any error.

comment:2 Changed 6 years ago by fredck

  • Status changed from new to closed
  • Resolution set to expired

comment:3 Changed 5 years ago by ross

  • Status changed from closed to reopened
  • Resolution expired deleted

I have the same problem: unhandled exception in browser if I make postback from update panel with selected image in editor (ie6).

comment:4 Changed 5 years ago by avsomeren

Hi there,

I am also experiencing the same behaviour as described above. Using IE7.

When f.e. nothing is selected, or some text is selected, everything works as designed. When an image or a table is selected, displaying the sizing handles, IE crashes without giving an error. After that Vista closes down the IE7 instance, leaving no chance for debugging the situation.

I also tested it with the flv viewer plugin, which also causes a crash when the situation of selecting the object and saving is reproduced.

Is there a possibility it has something to do with the sizing handles?

comment:5 Changed 5 years ago by alfonsoml

#2891 has been marked as dup

comment:6 Changed 5 years ago by alfonsoml

  • Owner set to alfonsoml
  • Keywords Confirmed IE added; Pending WorksForMe removed
  • Status changed from reopened to new
  • Component changed from Server : ASP.Net to General

Confirming based on dup #4198

Changed 5 years ago by alfonsoml

Proposed patch

comment:7 Changed 5 years ago by alfonsoml

  • Status changed from new to assigned
  • Keywords Review? added
  • Milestone set to FCKeditor 2.6.5

After trying to get a minimal testcase I went to the straight route and it seems to work. During the IE cleanup is just enough to make sure that the selection is cleared and now it no longer crashes for me.

Please, anyone that has this problem, apply this patch to test if it works for you.

comment:8 Changed 5 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:9 Changed 5 years ago by alfonsoml

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

Fixed with [4222]

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