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:

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

Event Timeline

Pginer-WMF added a comment.EditedNov 25 2016, 12:16 PM

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.

Pginer-WMF updated the task description. (Show Details)Nov 25 2016, 12:27 PM

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

same with The Chainsmokers

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 closed this task as Resolved.Dec 6 2016, 6:50 AM
Arrbee moved this task from QA to Done on the Language-Q2-2016-17 Sprint 4 board.