Page MenuHomePhabricator

VisualEditor: [Regression wmf20] Adding a space after a formatted link throws error Uncaught TypeError: Cannot read property 'constructor' of undefined
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Add a link
2.Apply format on it like Bold/Strikethrough
3.Now add a space right after that and add a text

Observed Result:
An error appears in the console Uncaught TypeError: Cannot read property 'constructor' of undefined and the text gets added in a weird way: One letter appears before the link and some letters gets typed inside the link text

See the screenshot attached

Test Environment: https://test2.wikipedia.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Page:https://test2.wikipedia.org/wiki/31stMarChrome?veaction=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-03-31_at_3.03.10_PM.png (748×1 px, 284 KB)

Details

Reference
bz63333

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:01 AM
bzimport set Reference to bz63333.

Change 123373 had a related patch set uploaded by Esanders:
Adjust loop counters in word break detection when removing item

https://gerrit.wikimedia.org/r/123373

Change 123373 merged by jenkins-bot:
Adjust loop counters in word break detection when removing item

https://gerrit.wikimedia.org/r/123373

Change 124488 had a related patch set uploaded by Catrope:
Adjust loop counters in word break detection when removing item

https://gerrit.wikimedia.org/r/124488

Change 124488 merged by jenkins-bot:
Adjust loop counters in word break detection when removing item

https://gerrit.wikimedia.org/r/124488

Verified the fix on mediawiki.org

Verified the fix in production