Page MenuHomePhabricator

[Regression wmf.18] VE crashes with error "Converting circular structure to JSON" while trying to add a parameter to a template
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Go to Insert>Template
  2. Type a template for example: Citation needed

3.Click on Add template

  1. Click on "Add more information"

5.Try to add a parameter to it by clicking on one of the them from the lists for example: Reason for citation

Observed Result:
It does not get added, there is an error in the console:
"Uncaught TypeError: Converting circular structure to JSON"

  1. Click on Insert
  2. Now Click on Edit again on the context menu of the template you just added

VE crashes with error " Uncaught TypeError: Cannot read property 'getIndex' of null"

Screen Shot 2016-09-02 at 4.15.04 PM.png (666×1 px, 210 KB)

Screen Shot 2016-09-02 at 4.10.26 PM.png (709×1 px, 190 KB)

Event Timeline

Ryasmeen renamed this task from [Regression pre-wmf.18] VE crashes with error "Converting circular structure to JSON" while trying to add a parameter to it to [Regression pre-wmf.18] VE crashes with error "Converting circular structure to JSON" while trying to add a parameter to a template.Sep 2 2016, 11:19 PM
Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF triaged this task as Unbreak Now! priority.
Jdforrester-WMF set the point value for this task to 1.

This was fixed by https://gerrit.wikimedia.org/r/#/c/308920/ I believe, which is being back-ported in 30 minutes' time.

Ryasmeen renamed this task from [Regression pre-wmf.18] VE crashes with error "Converting circular structure to JSON" while trying to add a parameter to a template to [Regression wmf.18] VE crashes with error "Converting circular structure to JSON" while trying to add a parameter to a template.Sep 7 2016, 10:43 PM
Ryasmeen added a project: Verified.