Page MenuHomePhabricator

Template card appears empty and duplicates on every access
Closed, ResolvedPublic

Description

As part of the manual mapping for template translation (T145857), I found an issue in some templates (and I'm not sure wha the problematic ones have in common).

When editing a template that seemed successfully adapted, I found it had no parameters and it got duplicated on any attempt to enter the editing mode again:

repeated-card.gif (566×786 px, 6 MB)

(tested in the test server for "Bill Gates" article translated from English to Catalan)

Event Timeline

the same happened when trying to translate The Chainsmokers from English to Catalan, and from English to Spanish. In the later case some fields are shown but they are not interactive.

There was a js error with param having null value. Fixed.

pasted_file (680×1 px, 83 KB)

same with The Chainsmokers

pasted_file (655×1 px, 83 KB)

Change 323789 had a related patch set uploaded (by Santhosh):
Check for null value of template params to avoid js error

https://gerrit.wikimedia.org/r/323789

Also happened in Samuel L. Jackson en->ca.

Change 323789 merged by Nikerabbit:
Check for null value of template params to avoid js error

https://gerrit.wikimedia.org/r/323789

Arrbee moved this task from QA to Done on the Language-Q2-2016-17 Sprint 4 board.