Opened 11 years ago

Last modified 11 years ago

#11393 closed Bug

Regression in link/link.html test — at Version 2

Reported by: Piotrek Koszuliński Owned by: Piotrek Koszuliński
Priority: Normal Milestone: CKEditor 4.3.2
Component: General Version: 4.3.2
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

First bad commit git:f905c2d3.

Test named "test create link on a non-editable inline element" failed with error: "Unexpected error: Index or size was negative, or greater than the allowed value.".

The problem is caused by DOM being overwritten in the test (with editable.setHtml()). It does not trigger any selection change event, so editor._.hiddenSelectionContainer still exists, however, container is not present in DOM.

In this case it's more test issue than real bug. But making this bulletproof will not harm anything.

Change History (2)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: newassigned

comment:2 Changed 11 years ago by Piotrek Koszuliński

Description: modified (diff)
Status: assignedreview

Pushed t/11393 on dev and tests.

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