Page MenuHomePhabricator

API should return full error report from status objects.
Closed, ResolvedPublic

Description

Several API modules that use EditEntity to modify entities do currently not report the information from the Status object that EditEntity provides. Instead, they return an error along the lines of "save failed", without providing further information.

Using the full information from the Status object would be very useful to clients. It becomes possible to react to every possible error condition separately, and detailed information about the issue can be provided to the user.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=45277

Details

Reference
bz45099

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 1:34 AM
bzimport set Reference to bz45099.
bzimport added a subscriber: Unknown Object (MLST).
daniel created this task.Feb 17 2013, 3:52 PM

I4094feee1, requires core patch I8ee9da40

Verified in Wikidata demo sprint 35-2

Restricted Application added a project: Wikidata. · View Herald TranscriptJan 28 2016, 6:01 PM