Opened 10 years ago
Closed 10 years ago
#12847 closed Bug (fixed)
Image dialog throws an error if opening it while link is selected
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.4.8 |
Component: | General | Version: | 4.0 Beta |
Keywords: | Cc: |
Description
- Open replacebycode sample.
- Double click any link.
- Close the link dialog.
- Click the image button.
An error is thrown:
var childTagName = linkChildren.getItem( 0 ).getName();
"getName" is not a function.
Reproduced at least on IE9 and Chrome from 4.1. Most likely it's much older bug.
Change History (4)
comment:1 Changed 10 years ago by
Status: | new → confirmed |
---|---|
Version: | → 4.0 Beta |
comment:2 Changed 10 years ago by
I somehow try to get rid of the .getName() function, then the TypeError message is gone.
comment:3 Changed 10 years ago by
As I explained in https://github.com/ckeditor/ckeditor-dev/pull/180#issuecomment-94259061 this does not seem to be the right solution.
comment:4 Changed 10 years ago by
Milestone: | → CKEditor 4.4.8 |
---|---|
Resolution: | → fixed |
Status: | confirmed → closed |
Fixed by #13351.
I have been able to reproduce this issue from CKEditor 4.0 beta in all browsers.