Silvan_WMDE added subscribers: Ollie.Shotton_WMDE, Silvan_WMDE. Silvan_WMDE added a comment.
**Task Breakdown Notes** 404 HTTP response -- ticket to be created by @Ollie.Shotton_WMDE - return `null` from `WikibaseEntityLookupItemRevisionRetriever` in case no entity revision can be found for a given ID - throw a "not found" exception in `GetItem::execute()` if item revision is null - handle the exception in the RouteHandler (set http status, code, message) 400 HTTP response -- ticket to be created by @Silvan_WMDE - exception will be thrown when trying to create an ItemId from invalid input in `GetItem::execute()` (L23) - handle the exception in the RouteHandler (set http status, code, message) 500 HTTP response -- ticket to be created by @Ollie.Shotton_WMDE - catch all remaining exceptions in the RouteHandler and handle (set code, message) TASK DETAIL https://phabricator.wikimedia.org/T302065 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Silvan_WMDE Cc: Silvan_WMDE, Ollie.Shotton_WMDE, WMDE-leszek, Aklapper, Fernandobacasegua34, Astuthiodit_1, 786, Suran38, Biggs657, karapayneWMDE, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org