[DEFECT] Default site not being selected on login.
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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