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

[Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, comments cannot be edited after logging in, prompting "nickname cannot be less than 3 characters" #2597

Closed
qgy18 opened this issue Jul 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@qgy18
Copy link
Contributor

qgy18 commented Jul 6, 2024

问题描述 | Describe the bug

首先,在 init waline 时配置 requiredMeta,例如:

requiredMeta: ['nick'],

然后登录后编辑之前发表的评论,会发现无法提交,提示“昵称不能少于3个字符”。

问题网站 | Website URL

https://imququ.com/post/recent-changes-to-my-blog.html

服务部署在哪里? | Where your waline deploy?

Other

数据存储在哪里?| Where your comment data store?

MySQL


Problem description | Describe the bug

First, configure requiredMeta when init waline, for example:

requiredMeta: ['nick'],

Then after logging in to edit the previously posted comment, you will find that it cannot be submitted and prompts "the nickname cannot be less than 3 characters."

Question Website | Website URL

https://imququ.com/post/recent-changes-to-my-blog.html

Where is the service deployed? | Where your waline deploy?

Other

Where is the data stored? | Where your comment data store?

MySQL

@qgy18 qgy18 added the bug Something isn't working label Jul 6, 2024
@github-actions github-actions bot changed the title [Bug]: 在设置了 requiredMeta 之后,登录无法编辑评论,提示“昵称不能少于3个字符” [Bug]: 在设置了 requiredMeta 之后,登录无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, you cannot log in to edit comments, prompting "the nickname cannot be less than 3 characters" Jul 6, 2024
@qgy18 qgy18 changed the title [Bug]: 在设置了 requiredMeta 之后,登录无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, you cannot log in to edit comments, prompting "the nickname cannot be less than 3 characters" [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, you cannot log in to edit comments, prompting "the nickname cannot be less than 3 characters" Jul 6, 2024
@github-actions github-actions bot changed the title [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, you cannot log in to edit comments, prompting "the nickname cannot be less than 3 characters" [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, comments cannot be edited after logging in, prompting "nickname cannot be less than 3 characters" Jul 6, 2024
@qgy18 qgy18 changed the title [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, comments cannot be edited after logging in, prompting "nickname cannot be less than 3 characters" [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, you cannot edit comments, prompting "the nickname cannot be less than 3 characters" Jul 6, 2024
@github-actions github-actions bot changed the title [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, you cannot edit comments, prompting "the nickname cannot be less than 3 characters" [Bug]: 在设置了 requiredMeta 之后,登录后无法编辑评论,提示“昵称不能少于3个字符” || [Bug]: After setting requiredMeta, comments cannot be edited after logging in, prompting "nickname cannot be less than 3 characters" Jul 6, 2024
@qgy18
Copy link
Contributor Author

qgy18 commented Jul 6, 2024

刚的评论怎么不见了。

还有个小问题,编辑评论时,页面上有两个一模一样、内容同步的输入框,可以像 reply 那样隐藏掉。

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant