Page MenuHomePhabricator

CX2: Infobox causes "automatic translation failed" when copying from source
Closed, ResolvedPublic

Description

When translating "Tribalistas (álbum de 2017)" from Portuguese to English, adding the infobox results in the "automatic translation failed" message shown. The default, copying the source content is used as an initial translation. So the error message is unexpected (not properly communicated as an adaptation issue, T192271) and misleading (no MT was used).

The template in the original article is Info/Album for which an equivalent Infobox Album exists in English.

Console shows the following error (which seems similar to T202714: CX2: Cannot read property 'shallowCloneFromRange' of null):

jQuery.Deferred exception: Cannot read property 'shallowCloneFromRange' of null TypeError: Cannot read property 'shallowCloneFromRange' of null
    at VeDmConverter.ve.dm.Converter.getDomFromNode (https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.visualEditor.core%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cmw.config.values.wbSiteDetails%7Coojs-ui.styles.icons-editing-advanced&skin=vector&version=15o5s27:250:362)
    at VeInitMwCXTarget.ve.init.mw.CXTarget.changeContentSource (<anonymous>:353:784)
    at VeInitMwCXTarget.<anonymous> (<anonymous>:348:955)
    at mightThrow (https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.visualEditor.core%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cmw.config.values.wbSiteDetails%7Coojs-ui.styles.icons-editing-advanced&skin=vector&version=15o5s27:851:856)
    at process (https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.visualEditor.core%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cmw.config.values.wbSiteDetails%7Coojs-ui.styles.icons-editing-advanced&skin=vector&version=15o5s27:852:516)