dotCMS / dotCMS/core

[DEFECT] Default site not being selected on login.

Open
#34,134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Team : Maintenance
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

When signing into dotCMS, default site is not being automatically selected. Seems to be selecting the first site created instead. This looks to also be affecting what page loads when navigating to the main host if not logged in. Instead of loading the default site, it goes to the first created.

https://dotcms.freshdesk.com/a/tickets/34553

Steps to Reproduce

https://github.com/user-attachments/assets/cbed8d99-5f12-4dfb-9947-d00c74f1dc90

Acceptance Criteria

When logging in, have dotCMS log into the site set as default.

dotCMS Version

Current Evergreen 25.12.08-2

Severity

Low - Minor issue or cosmetic

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the login and main-host behavior described in the issue, using the attached recording and the reported Evergreen version. Trace how the default site is selected during login and host navigation; done means both paths select the configured default site rather than the first-created site, with regression coverage for the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.