Page MenuHomePhabricator

"TypeError: cur is null" when pasting a string of text on a Flow page with VE enabled
Open, Stalled, Needs TriagePublic

Description

I was typing a reply for
https://www.mediawiki.org/wiki/Topic:Szxfw53ct6fyj35v
and after I wrote incorrectly the name of the extension I decided to just copy and paste "ContentTranslation" from another tab where this text was visible. To my surprise, when I double clicked on the word I had written and pasted the right string, I got the following JS error:

{
	"errorMessage": "TypeError: cur is null",
	"url": "https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY",
	"lineNumber": 66,
	"columnNumber": 316,
	"errorObject": {}
}

Event Timeline

He7d3r created this task.May 8 2016, 11:45 AM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 8 2016, 11:45 AM

Can you reproduce this? The exception comes from deep within jQuery so doesn't tell us where error came from in VE.

Jdforrester-WMF changed the task status from Open to Stalled.May 10 2016, 7:12 PM

This still happens. The latest example was when I typed [[, pasted T31272#1469722 and typed ]] while writing this comment:
https://www.mediawiki.org/wiki/Topic:Ts2doxmw9v7odvpe

Restricted Application added a project: Growth-Team. · View Herald TranscriptSep 2 2018, 10:10 AM