https://bugzilla.wikimedia.org/show_bug.cgi?id=48888

       Web browser: ---
            Bug ID: 48888
           Summary: Improve data value validation and error handling in
                    api
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

In the SetQualifier module, I gave it invalid data value input (and it was
being handled incorrectly in the api).  I got back an exception with full stack
trace in the api result.  

Generally speaking, in a number of places, the api is also doing insufficient
validation and error handling of the data values.  The api user should *not*
see an exception in the api error output.  Any exceptions due to invalid value
input should be caught and translated into a proper api error message and code.

(See also related bug 48864 and bug 48473)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to