[go: nahoru, domu]

Page MenuHomePhabricator

๐Ÿšซ [Generalised error] invalid-value in request body
Closed, ResolvedPublic13 Estimated Story Points

Description

Acceptance criteria:

  • Current errors it will replace:
    • invalid-title-field
    • invalid-sitelink-badges-format
    • invalid-input-sitelink-badge
    • invalid-patch
    • invalid-patch-field-type
    • invalid-label
    • invalid-description
    • invalid-alias
    • invalid-statement-group-type
    • invalid-statement-type
    • invalid-edit-tag
    • item-data-invalid-field
    • statement-data-invalid-field
    • invalid-patch-operation
    • title-field-empty
    • label-empty
    • description-empty
    • alias-list-empty
    • alias-empty
    • item-not-a-badge
    • invalid-sitelink-type
    • invalid-alias-list
  • New error case it should also cover: Incorrect sitelink type
  • HTTP status code: 400
  • Error code: invalid-value
  • Error message: Invalid value at '{json-pointer}'
  • Context: "path": "{json-pointer}"

Related Objects

StatusSubtypeAssignedTask
ResolvedIfrahkhanyaree_WMDE
ResolvedJakob_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedJakob_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedDima_Koushha_WMDE
ResolvedDima_Koushha_WMDE
ResolvedJakob_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedDima_Koushha_WMDE
ResolvedSilvan_WMDE
InvalidJakob_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedMuhammad_Yasser_Jazirahly_WMDE
ResolvedJakob_WMDE
ResolvedDima_Koushha_WMDE
ResolvedSilvan_WMDE
ResolvedSilvan_WMDE
ResolvedDima_Koushha_WMDE
ResolvedOllie.Shotton_WMDE
ResolvedOllie.Shotton_WMDE
ResolvedJakob_WMDE

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptMay 29 2024, 2:03 PM
Ollie.Shotton_WMDE renamed this task from [Generalised error] Invalid-value to ๐Ÿšซ [Generalised error] Invalid-value.Jul 2 2024, 12:18 PM
Ollie.Shotton_WMDE updated the task description. (Show Details)
Ollie.Shotton_WMDE renamed this task from ๐Ÿšซ [Generalised error] Invalid-value to ๐Ÿšซ [Generalised error] invalid-value.Jul 2 2024, 2:51 PM
Ollie.Shotton_WMDE updated the task description. (Show Details)
Ollie.Shotton_WMDE renamed this task from ๐Ÿšซ [Generalised error] invalid-value to ๐Ÿšซ [Generalised error] invalid-value in request body.Wed, Jul 24, 10:23 AM

we should remove invalid-language-code and invalid-site-id from the description right?

We missed the item-not-a-badge case ๐Ÿ™ˆ

Checked a bunch of them on 2-3 endpoints and they worked perfectly so I'd call this done