デフォルトテーマに無効なテーマコードを入力するとUIが使用できなくなる
Opened this issue · 0 comments
50sz commented
💡 Summary
サーバーデフォルトのテーマに無効なテーマコードを入力するとUIが使用できなくなる
🥰 Expected Behavior
エラーによりテーマが変更されずに戻される
or
正常に動作するプリセットのテーマに戻される
🤬 Actual Behavior
An error has occurred!の画面へ移行しUIが使用不可になる
エラーコードは
38eae6d3-c112-4ac6-a176-8c5cfee0266b
📝 Steps to Reproduce
1.コントロールパネルへ
2.ブランディングを選択
3.サーバーデフォルトの(ダーク or ライト)テーマに無効なテーマコードを入力
4.保存
💻 Frontend Environment
* Model and OS of the device(s):Victus 15(15-fb0002AX),Windows11 Version 23H2
* Browser:Firefox 126.0.1
* Server URL:mi2.suzusiro.com
* Misskey:2024.5.0
🛰 Backend Environment (for server admin)
* Installation Method or Hosting Service:
* Misskey:2024.5.0
* Node:v20.14.0
* PostgreSQL:15.7
* Redis:7.2.5
* OS and Architecture:Ubuntu 22.04.4 LTS
Do you want to address this bug yourself?
- Yes, I will patch the bug myself and send a pull request