Page MenuHomePhabricator

Section publishing on desktop always fails
Closed, ResolvedPublicBUG REPORT

Description

When a user starts a section translation on desktop (e.g. by providing the "sourcesection" parameter in the URL like this: https://el.wikipedia.org/w/index.php?title=Special:ContentTranslation&from=en&to=el&page=Football&sourcesection=Etymology), and then tries to publishing, the publishing request always fails, leaving the user blocked from the most important functionality in Content Translation: the publishing.

This happens because a mandatory parameter is missing from the request payload: the "sectiontranslationid" parameter.

Screencast of the error in greek (el) production wiki:

Screenshot 2023-09-29 at 16.30.01.png (1×1 px, 431 KB)

Event Timeline

ngkountas triaged this task as Unbreak Now! priority.
ngkountas added a project: ContentTranslation.
ngkountas updated the task description. (Show Details)

Change 962055 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX publish section: Add section translation id to payload

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

Nikerabbit lowered the priority of this task from Unbreak Now! to High.Oct 3 2023, 12:56 PM
Nikerabbit subscribed.

Adjusting from UBN! to "Unbreak by next Monday" after discussion.

Change 962055 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX publish section: Add section translation id to payload

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

Change 962627 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX section publishing: Auto-save translation before publishing

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

Change 962627 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX section publishing: Auto-save translation before publishing

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

Change 964867 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Add "sectionTranslationId" to desktop draft translation DTOs

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

Test Status: QA PASS

Able to publish with th source section set:

Change 964867 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Add "sectionTranslationId" to desktop draft translation DTOs

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