Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

プロフィール編集時に名前を空白文字列のみにできてしまう #14088

Closed
1 task
EbiseLutica opened this issue Jun 24, 2024 · 2 comments · Fixed by #14119
Closed
1 task
Labels
⚠️bug? This might be a bug

Comments

@EbiseLutica
Copy link
Contributor

EbiseLutica commented Jun 24, 2024

💡 Summary

プロフィールの、自分の名前を空白文字のみで構成する文字列にして保存すると、空白が削除されずにそのまま名前が無になる。

🥰 Expected Behavior

空白がトリムされて、名前未設定時の挙動となる
あるいは、エラーとなる?

🤬 Actual Behavior

空白文字のみで構成された名前がそのまま保存される

📝 Steps to Reproduce

  1. プロフィール編集画面へ移動
  2. 名前を空白文字のみにして保存する

💻 Frontend Environment

* Model and OS of the device(s): MacBook Air (M1, 2020), macOS Sonoma 14.1.1
* Browser: Chrome 125.0.6422.142
* Server URL: mk.shrimpia.network, misskey.io
* Misskey: 2024.5.0

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@EbiseLutica EbiseLutica added the ⚠️bug? This might be a bug label Jun 24, 2024
@kakkokari-gtyih
Copy link
Contributor

空白がトリムされて、名前未設定時の挙動となる

表示名が空になるのが許容されないわけではないのでこっちの動作のほうが自然そう

@Sayamame-beans
Copy link
Collaborator

個人的な疑問なのですが、表示名が空ですとどのように問題があるでしょうか…?
リアクションやRNの通知ではアイコンと表示名しか(現状)表示されていないようなので、その部分でしょうか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants