Server assigned username is no longer sent correctly to the clients #123

Closed
opened 2026-04-22 15:19:04 +02:00 by jona.walpert · 3 comments
jona.walpert commented 2026-04-22 15:19:04 +02:00 (Migrated from git.scicore.unibas.ch)

Bug Report

Environment

  • Branch & Commit: main
  • Operating system: windows 11
  • How was execution started (Gradle task / IDE debug / IDE run):
  • Java version: 25
  • Gradle version: 9.3.1

Summary

If no username is specified the server should assign a username to the client and log the user with that username in. In the current main status this does not work. The Client has to manually give themselfs a name to log in

Expected Behavior

Server assigned username should be mapepd to a user

Actual Behavior

Server assigned username is not assigned

Steps to Reproduce

start server

start client without a username

Stack Trace / Error Message

<!-- Paste stack trace or log output here -->

Possible Cause / Notes

Checklist

  • I reproduced the problem using the steps above
  • I searched documentation for relevant information
  • I added relevant labels
## Bug Report <!--The reccommended type is: Issue--> ### Environment - **Branch & Commit: main** - **Operating system: windows 11** - **How was execution started (Gradle task / IDE debug / IDE run):** - **Java version:** `25` - **Gradle version**: `9.3.1` ### Summary If no username is specified the server should assign a username to the client and log the user with that username in. In the current main status this does not work. The Client has to manually give themselfs a name to log in ### Expected Behavior Server assigned username should be mapepd to a user ### Actual Behavior Server assigned username is not assigned ### Steps to Reproduce start server start client without a username ### Stack Trace / Error Message ``` <!-- Paste stack trace or log output here --> ``` ### Possible Cause / Notes <!--Optional: your own hypothesis about the root cause--> ### Checklist - [x] I reproduced the problem using the steps above - [x] I searched documentation for relevant information - [x] I added relevant labels
jona.walpert commented 2026-04-22 15:19:04 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @jona.walpert

assigned to @jona.walpert
jona.walpert commented 2026-04-24 13:12:08 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !145

mentioned in merge request !145
jona.walpert commented 2026-04-24 13:14:23 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 488e8f524b

mentioned in commit 488e8f524bcd90b657645514082c0ff861ca2ae4
jona.walpert (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-24 13:14:24 +02:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#123