Page MenuHomePhabricator

FileImporter: Generic error "failed to commit operations" doesn't mention actual reason
Closed, ResolvedPublicBUG REPORT

Description

FileImporter fails to show detailed error messages in some cases, even if more specific information is available. This happens especially during the "commit" phase (the last of the "prepare" → "validate" → "commit" phases). See T308691#7941603 for a specific example.

The draft in https://gerrit.wikimedia.org/r/793481 shows what's missing.


Instructions when working on the task:

If you need help along the way, feel free to poke @WMDE-Fisch

Event Timeline

Change 793481 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/FileImporter@master] [WIP] Log and show reasons when commit operations fail

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

WMDE-Fisch renamed this task from Generic error "failed to commit operations" doesn't mention actual reason to FileImporter: Generic error "failed to commit operations" doesn't mention actual reason.May 20 2022, 8:28 AM
WMDE-Fisch updated the task description. (Show Details)
WMDE-Fisch moved this task from Incoming to Backlog on the WMDE-TechWish-Maintenance board.

Change 793481 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Log and show reasons when commit operations fail

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