Opened 11 years ago

Last modified 11 years ago

#10702 confirmed Bug

Image dialog gives script errpr when focus in all of a link.

Reported by: Zoltan Koszegi Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: oracle IE9 IE10 Cc:

Description (last modified by Jakub Ś)

Can be reproduced on DEMO page with IE9. With IE10 not an issue.

  1. Clear DEMO page (I used full featured GUI with full screen) and make a link.
  2. Click away from the link, and then double-click on it.
  3. The Hyperlink dialog displays. Click OK or Cancel.
  4. Without changing focus, click the Image tool.

RESULT: Error dialog displays these details.
Error: Object doesn't support property or method 'getName'
The error comes from: plugins\image\dialogs\image.js line 302 (in ver. 4.1.1) from here
var childTagName = linkChildren.getItem( 0 ).getName();

Change History (3)

comment:1 Changed 11 years ago by Jakub Ś

Description: modified (diff)

comment:2 Changed 11 years ago by Jakub Ś

Keywords: IE9 IE10 added
Status: newconfirmed
Version: 4.24.0

Problem can be reproduced from CKEditor 4.0 in IE9 and IE10.

Message: SCRIPT438: Obiekt nie obsługuje właściwości lub metody "getName"
Line: 288
URI: ckeditor4-git/plugins/image/dialogs/image.js

comment:3 Changed 11 years ago by Zoltan Koszegi

Easily can be fixed by surrounding with try-catch.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy