Opened 12 years ago
Closed 12 years ago
#10975 closed Bug (fixed)
[IE] Error thrown while opening color palette
| Reported by: | Olek Nowodziński | Owned by: | Piotr Jasiun |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.2.3 |
| Component: | UI : Floating Panel | Version: | 4.2.2 |
| Keywords: | Cc: |
Description
What:
SCRIPT5007: Unable to get value of the property 'block': object is null or undefined
Where: colorbutton plugin's onOpen
Browser: IE9 QM
First bad commit: git:3a780a021457e7a7
This bug is a regression. Still, unless developer console is open, the bug remains invisible for the user as it doesn't break the editing.
Change History (8)
comment:1 Changed 12 years ago by
| Milestone: | CKEditor 4.2.2 → CKEditor 4.2.3 |
|---|
comment:2 Changed 12 years ago by
| Status: | new → confirmed |
|---|
comment:3 Changed 12 years ago by
| Owner: | set to Piotr Jasiun |
|---|---|
| Status: | confirmed → assigned |
comment:4 Changed 12 years ago by
| Summary: | [QM] Error thrown while opening color palette → [IE] Error thrown while opening color palette |
|---|
comment:5 Changed 12 years ago by
| Status: | assigned → review |
|---|
The solution is to check if 'path' is not null in 'onOpen' method.
Changes in t/10975 and test in corresponding branch.
comment:6 Changed 12 years ago by
| Status: | review → review_passed |
|---|
comment:8 Changed 12 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review_passed → closed |

To reproduce this bug you have to click on color button before clicking on editable so there is no selection when you open palette.
I was able to reproduce it in IE9 and IE10 in standard mode (not only quirks).