Page MenuHomePhabricator

🔍️ [Generalised error] Referenced resource not found in patch result
Closed, ResolvedPublic8 Estimated Story Points

Description

Related non-patch task: T366247: ❓ [Generalised error] Referenced resource not found

Acceptance criteria:

  • Current errors it will replace: Sitelink title does not exist patch result
  • New error cases that this will cover: Property of a statement/qualifier/reference
  • HTTP status code: 422
  • Error code: patch-result-referenced-resource-not-found
  • Error message: The referenced resource does not exist
  • Error context: { "path": "{json-pointer-to-missing-resource-in-patch-result}", "value": {value} }

Event Timeline

Ollie.Shotton_WMDE renamed this task from [Generalised error] Content not found in PATCH to [Generalised error] Referenced resource not found in patch result.Aug 28 2024, 12:12 PM
Ollie.Shotton_WMDE updated the task description. (Show Details)
Ollie.Shotton_WMDE moved this task from To polish to Polished on the Wikibase Reuse Team board.

Task Breakdown Notes

  • handle non-existent sitelink
  • handle non-existent property for statement/qualifier/reference

Note: pls do not forget to modify the OpenAPI specification

Silvan_WMDE renamed this task from [Generalised error] Referenced resource not found in patch result to 🔍️ [Generalised error] Referenced resource not found in patch result.Sep 3 2024, 2:17 PM