Page MenuHomePhabricator

Wrong language identifiers in projects endpoint
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue:

  • query /v1/projects endpoint in enterprise API
  • observe the response data

What happens?:
I'm getting response with incorrect language identifiers.

{
    "name": "Wikicitat",
    "identifier": "rowikiquote",
    "url": "https://ro.wikiquote.org",
    "in_language": {
      "name": "Romanian",
      "identifier": "rowikiquote"
    }
}

Take a look at in_language field, specifically identifier field. It says rowikiquote instead of ro.

What should have happened instead?:
All of the language identifiers in the response should have correct value.

Details

Other Assignee
Alexander.lauie

Event Timeline

Protsack.stephan updated Other Assignee, added: Alexander.lauie.
Alexander.lauie changed the task status from Open to In Progress.Aug 24 2022, 1:16 PM
Alexander.lauie claimed this task.
Lena.Milenko changed the task status from In Progress to Open.Sep 14 2022, 11:15 AM