Page MenuHomePhabricator

[wmf.23] CX2: Unable to translate "Triops longicaudatus" - TypeError: model.getSectionNumber is not a function
Closed, ResolvedPublic

Description

  1. Start translating en:Triops longicaudatus (another example en:Chenops) with CX2 version - the article will be displayed in the translation panel as one giant template:

Screen Shot 2018-09-27 at 5.12.58 PM.png (826×1 px, 266 KB)

  1. Click to translate - 'Automatic translation failed' message appears (if it was a default option) and after that it's not possible to continue translating with other translation options.

TypeError: model.getSectionNumber is not a function

Note: CX1 translation handels the article correctly allowing to translate by sections.

Screen Shot 2018-09-27 at 5.44.53 PM.png (769×915 px, 172 KB)

Event Timeline

I also get the whole article (for en:Triops_longicaudatus) as one section in the translation column, not divided into section. That is on localhost. On cx2-testing, content is properly divided.

This ticket should be re-purposed for dealing with dividing content into sections, if proven to be a real problem. Pinging @santhosh to see if he can reproduce.

As per error TypeError: model.getSectionNumber is not a function goes, that is already solved with this patch.