Page MenuHomePhabricator

"TypeError: cur is null" when pasting a string of text on a Flow page with VE enabled
Open, 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

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

Aklapper changed the task status from Stalled to Open.May 30 2020, 12:23 PM

Resetting task status as question has been answered.