Skip to content

Multi URL Picker selects wrong culture when adding a link to a page #18317

@marcusolrik-illumi

Description

@marcusolrik-illumi

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.2.1

Bug summary

When using a Multi URL Picker in a multilingual setup, the picker initially selects the wrong culture's URL. For example, when adding a link in the Danish culture, the picker chooses the English version of the page. After saving and publishing, the link correctly switches to the Danish version, but the link label/title in Umbraco remains in English, even though the link itself is for the Danish page. This causes confusion for users.

Specifics

  • Umbraco version: 15.2.1
  • Languages used: Danish (da-DK, default) and English (en-US)
  • Domains configured:
    • Danish: /
    • English: /en
  • Document types:
    • Root Document Type: Allowed at root, varies by culture, allows child pages.
    • Page Document Type: Varies by culture, contains a Multi URL Picker that also varies by culture.
  • A video demonstrating the issue is attached.
Optagelse.2025-02-13.100541.mp4

Steps to reproduce

  1. Create a fresh Umbraco project.
  2. Add two languages: Danish (da-DK) as default and English (en-US).
  3. Create a Root Document Type (allowed at root, varies by culture) and a Page Document Type (also varies by culture with a Multi URL Picker field).
  4. Configure domains in the content tab: / for Danish and /en for English.
  5. Create a couple of pages and publish them in both languages.
  6. Create a new page in the Danish culture and use the Multi URL Picker to link to another Danish page.

Expected result / actual result

Expected Result

  • The Multi URL Picker should select the Danish version of the page immediately when linking in the Danish culture.
  • The link label/title in the Multi URL Picker field should reflect the Danish version.

Actual Result

  • The Multi URL Picker selects the English version of the page when linking in the Danish culture.
  • After saving and publishing, the link correctly switches to the Danish version, but the link label/title remains in English, even though it is a Danish link.

This item has been added to our backlog AB#50840

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions