Last modified: 2013-08-30 18:48:21 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 T54256, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52256 - VisualEditor: Link widget in a slug fails with "No class registered by that name: undefined"
VisualEditor: Link widget in a slug fails with "No class registered by that n...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-08-29
Assigned To: Moriel Schottlender
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-30 00:55 UTC by Matthew Flaschen
Modified: 2013-08-30 18:48 UTC (History)
4 users (show)

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


Attachments
Broken link widget after pressing Ctrl-K on empty page, then exiting (45.38 KB, image/png)
2013-07-30 00:57 UTC, Matthew Flaschen
Details

Description Matthew Flaschen 2013-07-30 00:55:26 UTC
ve.Factory.prototype.create throws an Error, "No class registered by that name: undefined" when using the link widget.  It can be reproduced with:

1. Start with blank document
2. Hit Ctrl-K
3. Type some page name that doesn't exist
4. Hit escape twice.

This leaves a broken widget that takes several clicks (not sure the exact pattern here) to clear.

5. Try to open the link widget again.  It won't be possible, either with Ctrl+K or the button.

This is live on English Wikipedia.
Comment 1 Matthew Flaschen 2013-07-30 00:57:26 UTC
Created attachment 13014 [details]
Broken link widget after pressing Ctrl-K on empty page, then exiting
Comment 2 Matthew Flaschen 2013-07-30 00:58:23 UTC
It also copies the page name from the link widget to the document as apparent plain text, even though you exit out with double-ESC.
Comment 3 Trevor Parscal 2013-08-30 18:42:55 UTC
This seems to be fixed by https://gerrit.wikimedia.org/r/#/c/81437/

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


Navigation
Links