Page MenuHomePhabricator

"TypeError: can't convert undefined to object" apperas when I delete all the co-ordinates from Data section of the Graph editor and cannot open any other inspector after that
Closed, ResolvedPublic1 Estimated Story Points


Steps to reproduce:

1.Open Graph editor from VE
2.Go to the tab "Data"
3.Delete all the (X,Y) pairs
4.Insert it

Observed Results:
There is a graph node with no index points on any axis. Error in the console:
"TypeError: can't convert undefined to object"

Screen Shot 2015-11-17 at 11.45.16 AM.png (748×1 px, 276 KB)

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen subscribed.

Change 253777 had a related patch set uploaded (by Ferdbold):
Handle empty datasets in graphs

Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to Blocked on the VisualEditor board.

Change 253777 merged by jenkins-bot:
Handle empty datasets in graphs