Page MenuHomePhabricator

CX2: Publish fail handler should have a way to enable publish button or not
Open, MediumPublic

Description

isFailedUnrecoverably is present in mw.cx.TranslationController but not used now.

this.emit( 'publishError', new OO.ui.Error( msg, { recoverable: allowReapply } ) );

Errors emitted like that should be handled considering the recoverable parameter

Event Timeline

Arrbee triaged this task as Medium priority.Aug 3 2020, 2:28 PM

Change 620898 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] CX2: Disable publish button on unrecoverable failure

https://gerrit.wikimedia.org/r/620898

Change 620898 abandoned by Nik Gkountas:
[mediawiki/extensions/ContentTranslation@master] CX2: Disable publish button on unrecoverable failure

Reason:

https://gerrit.wikimedia.org/r/620898