" Uncaught Error: Unbalanced set of replace operations found" appears while switching from option "Automatic Translation" to "Don't use machine translation"
Description
Description
Related Objects
Related Objects
- Mentioned In
- T199011: CX2: Paragraph becomes unusable when switching to 'Don't use machine translation' or 'Use source text'
T188247: CX2: Automatic Translation card to adjust MT options - Mentioned Here
- T199011: CX2: Paragraph becomes unusable when switching to 'Don't use machine translation' or 'Use source text'
Event Timeline
Comment Actions
With the recent changes on the MT card, the issue is not appearing. Feel free to try to reproduce the issue again, and reopen the ticket if still applies.
Comment Actions
I see a different error now though while doing the same and in fact now it does not even switch to the option "Don't use machine translation" anymore.
VM165:421 Uncaught TypeError: Cannot read property 'getModel' of undefined at VeInitMwCXTarget.ve.init.mw.CXTarget.getTargetSectionNode (<anonymous>:421:772) at VeUiCXTranslationAction.<anonymous> (<anonymous>:463:177) at fire (load.php?debug=false&lang=en&modules=jquery|mediawiki.base&only=scripts&skin=vector&version=069i1tc:46) at Object.fireWith [as rejectWith] (load.php?debug=false&lang=en&modules=jquery|mediawiki.base&only=scripts&skin=vector&version=069i1tc:47) at process (load.php?debug=false&lang=en&modules=jquery|mediawiki.base&only=scripts&skin=vector&version=069i1tc:50)
Comment Actions
Thanks @Ryasmeen for rechecking, and @KartikMistry for the related ticket.
I think both are also the same issue as T199011, which is in the process of getting fixed (a patch in review). I'll merge them as duplicates.