Page MenuHomePhabricator

Language variant URLs are rendered incorrectly when no variant in fallback chain is found
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:

  • Create a toolinfo record with a user_docs_url (or similar field) in language 'fj'
  • View record in any locale other than jf

Actual Results:

  • http://localhost:8000/tool/[object%20Object]

Expected Results:

  • user_docs_url.url value OR no link displayed at all

Event Timeline

Change 673102 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[wikimedia/toolhub@main] ui: handle link selection when none match locale fallback chain

https://gerrit.wikimedia.org/r/673102

bd808 moved this task from Backlog to Review on the Toolhub board.

Change 673102 merged by jenkins-bot:
[wikimedia/toolhub@main] ui: handle link selection when none match locale fallback chain

https://gerrit.wikimedia.org/r/673102