Special character only chat messages don't get transferred #140

Closed
opened 2026-05-10 13:27:32 +02:00 by m.ginkel · 3 comments
m.ginkel commented 2026-05-10 13:27:32 +02:00 (Migrated from git.scicore.unibas.ch)

Bug Report

Environment

  • Branch & Commit: main, 2cfc4054
  • Operating system: linux
  • How was execution started (Gradle task / IDE debug / IDE run): Not applicable
  • Java version: 25
  • Gradle version: 9.3.1

Summary

Chat messages with only special characters (no alphanumeric characters ( letters or numbers )) don't get transferred.

Expected Behavior

No content of chat messages should be excluded

Actual Behavior

The logger notices that for these special messages, no text or content of the message is found.

Therefore the content doesn't get transferred, and nobody can see the message in the chat.

Steps to Reproduce

  1. write in the global chat a message like ";-)"

Stack Trace / Error Message

WARN ch.unibas.dmi.dbis.cs108.casono.client.chat.ChatController Chat refresh failed: No TEXT found

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,** [2cfc4054](https://git.scicore.unibas.ch/cs108-fs26/Gruppe-13/-/commit/2cfc40543a3cb34d70596d9dd4cead9c00fff757) - **Operating system: linux** - **How was execution started (Gradle task / IDE debug / IDE run): Not applicable** - **Java version:** `25` - **Gradle version**: `9.3.1` ### Summary Chat messages with only special characters (no alphanumeric characters ( letters or numbers )) don't get transferred. ### Expected Behavior No content of chat messages should be excluded ### Actual Behavior The logger notices that for these special messages, no text or content of the message is found. Therefore the content doesn't get transferred, and nobody can see the message in the chat. ### Steps to Reproduce 1. write in the global chat a message like ";-)" ### Stack Trace / Error Message WARN ch.unibas.dmi.dbis.cs108.casono.client.chat.ChatController Chat refresh failed: No TEXT found ### Possible Cause / Notes <!--Optional: your own hypothesis about the root cause--> ### Checklist - [ ] I reproduced the problem using the steps above - [ ] I searched documentation for relevant information - [ ] I added relevant labels
m.ginkel commented 2026-05-10 13:27:33 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @m.ginkel

assigned to @m.ginkel
m.ginkel commented 2026-05-14 12:09:09 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !180

mentioned in merge request !180
m.ginkel commented 2026-05-14 13:51:46 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit f0135ce6f4

mentioned in commit f0135ce6f4178509b6dc562e71742973857601d2
m.ginkel (Migrated from git.scicore.unibas.ch) closed this issue 2026-05-14 13:51:46 +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#140