Last modified: 2014-04-11 01:03:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65333, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63333 - VisualEditor: [Regression wmf20] Adding a space after a formatted link throws error Uncaught TypeError: Cannot read property 'constructor' of undefined
VisualEditor: [Regression wmf20] Adding a space after a formatted link throws...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Highest normal
: VE-deploy-2014-04-03
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-31 22:22 UTC by Rummana Yasmeen
Modified: 2014-04-11 01:03 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot (284.12 KB, image/png)
2014-03-31 22:22 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-03-31 22:22:55 UTC
Created attachment 14985 [details]
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
Comment 1 Gerrit Notification Bot 2014-04-02 19:08:23 UTC
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
Comment 2 Gerrit Notification Bot 2014-04-02 19:14:30 UTC
Change 123373 merged by jenkins-bot:
Adjust loop counters in word break detection when removing item

https://gerrit.wikimedia.org/r/123373
Comment 3 Rummana Yasmeen 2014-04-03 00:01:13 UTC
Verified the fix on Betalabs
Comment 4 Gerrit Notification Bot 2014-04-07 22:53:45 UTC
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
Comment 5 Gerrit Notification Bot 2014-04-07 23:22:43 UTC
Change 124488 merged by jenkins-bot:
Adjust loop counters in word break detection when removing item

https://gerrit.wikimedia.org/r/124488
Comment 6 Rummana Yasmeen 2014-04-08 20:44:15 UTC
Verified the fix on mediawiki.org
Comment 7 Rummana Yasmeen 2014-04-11 01:03:32 UTC
Verified the fix in production

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links