Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong portal alias is created when adding new languages #3444

Closed
3 tasks done
daguiler opened this issue Jan 2, 2020 · 0 comments · Fixed by #3445
Closed
3 tasks done

Wrong portal alias is created when adding new languages #3444

daguiler opened this issue Jan 2, 2020 · 0 comments · Fixed by #3445

Comments

@daguiler
Copy link
Contributor

daguiler commented Jan 2, 2020

Description of bug

When a second language is added to DNN, 2 localized portal aliases are added along: 1 for the default language, and 1 for the second language.
These 2 new portal aliases are created by taking the first portal alias and adding language segments. This is ok when the first portal alias is also the primary portal alias, but should not be the case when a portal alias other than the first one is the primary one.

Steps to reproduce

  1. Install 9.4.4 and inspect Languages and Site Aliases:

Languages:

Culture Enabled
English (United States) ** Yes

Site Aliases:

Alias Browser Primary
platform-9-4-4-25776.dnndev.me Normal Yes
  1. Add a new primary alias:
Alias Browser Primary
platform-9-4-4-25776.dnndev.me Normal
dnn-944.dnndev.me Normal Yes
  1. Add a second language:
Culture Enabled
English (United States) ** Yes
Afrikaans (Suid-Afrika) Yes
  1. Inspect the site aliases again:
Alias Browser Primary
platform-9-4-4-25776.dnndev.me Normal
dnn-944.dnndev.me Normal Yes
platform-9-4-4-25776.dnndev.me/en-us Normal Yes
platform-9-4-4-25776.dnndev.me/af-za Normal Yes

Current behavior

The 2 new portal aliases were created after the first portal alias.

Expected behavior

The 2 new portal aliases should have been created after the primary portal alias, like this:

Alias Browser Primary
platform-9-4-4-25776.dnndev.me Normal
dnn-944.dnndev.me Normal Yes
dnn-944.dnndev.me/en-us Normal Yes
dnn-944.dnndev.me/af-za Normal Yes

Affected version

  • 10.0.0 alpha build
  • 9.5.0 alpha build
  • 9.4.4 latest supported release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants