Last modified: 2014-11-19 20:05:23 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 T73998, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71998 - VisualEditor: “Uncaught Error: Unable to parse title” when entering "Talk:" as a template
VisualEditor: “Uncaught Error: Unable to parse title” when entering "Talk:" a...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal minor
: VE-deploy-2014-11-05 (1.25wmf7)
Assigned To: Sucheta Ghoshal
:
Depends on: 72468
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-13 15:29 UTC by Ritu Swain
Modified: 2014-11-19 20:05 UTC (History)
8 users (show)

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


Attachments
screenshot (112.51 KB, image/png)
2014-10-13 15:29 UTC, Ritu Swain
Details

Description Ritu Swain 2014-10-13 15:29:36 UTC
Created attachment 16752 [details]
screenshot

Environment- test2, beta, production.

1> Select template. In the Add a Template dialog when the cursor is in the input box, hit spacebar.
2> The Add a Template button becomes active.click on it. 
JS console error-“Uncaught Error: Unable to parse title”.

Screenshot attached.
Comment 1 etonkovidova 2014-10-20 22:08:01 UTC
Confirmed - test2, Betalabs, produciton(Chrome, FF)

The following error is dispayed: 
Uncaught Error: Unable to parse title VM5621:36
TitleVM5621:36

ve.dm.MWTemplateModel.newFromNameload.php?debug=false&lang=en&modules=ext.disambiguator.visualEditor%7Cext.math.visualEditor%7Cext.v…:257

ve.ui.MWTemplatePlaceholderPage.onAddTemplateload.php?debug=false&lang=en&modules=ext.disambiguator.visualEditor%7Cext.math.visualEditor%7Cext.v…:277

oo.EventEmitter.emitVM5625:7

OO.ui.ButtonWidget.onClickload.php?debug=false&lang=en&modules=ext.visualEditor.core%2CviewPageTarget%7Cmediawiki.feedback%7C…:615

jQuery.event.dispatchload.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20141017T2…:65

elemData.handleload.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20141017T2…:60
Comment 2 Gerrit Notification Bot 2014-10-24 01:24:06 UTC
Change 168531 had a related patch set uploaded by SuchetaG:
Add template button remains disabled when entering space as a template

https://gerrit.wikimedia.org/r/168531
Comment 3 Gerrit Notification Bot 2014-10-24 01:36:14 UTC
Change 168531 merged by jenkins-bot:
Add template button remains disabled when entering space as a template

https://gerrit.wikimedia.org/r/168531
Comment 4 Roan Kattouw 2014-10-24 01:42:58 UTC
(In reply to Gerrit Notification Bot from comment #3)
> Change 168531 merged by jenkins-bot:
> Add template button remains disabled when entering space as a template
> 
> https://gerrit.wikimedia.org/r/168531

This fixes the issue as filed: when you type a space, the Add template button remains disabled. However, there are still a few values that you can use to make it crash, like "Talk:" (I was expecting "|" to break to, but surprisingly it doesn't because of unrelated evil hacks).

That is part of a larger issue though, which I've filed as bug 72468.
Comment 5 Gerrit Notification Bot 2014-11-04 00:36:19 UTC
Change 170071 had a related patch set uploaded by SuchetaG:
Replacing MWTitleInputWidget.getValue() with MWTitleInputWidget.getTitle()

https://gerrit.wikimedia.org/r/170071
Comment 6 Gerrit Notification Bot 2014-11-04 01:18:41 UTC
Change 170071 merged by jenkins-bot:
Replacing MWTitleInputWidget.getValue() with MWTitleInputWidget.getTitle()

https://gerrit.wikimedia.org/r/170071
Comment 7 etonkovidova 2014-11-04 20:34:50 UTC
Fixed for validating template titles - verified in betalabs FF
Comment 8 etonkovidova 2014-11-06 00:15:01 UTC
the fix is a part of 71249.
Comment 9 etonkovidova 2014-11-19 20:05:23 UTC
Verified the fix in production along with the bug fix for 71249.

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


Navigation
Links