Page MenuHomePhabricator

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


  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:

  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.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 28 2018, 12:46 AM

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.