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]: 在管理系统导出json又导入后,评论无法关联已注册用户 || [Bug]: After the management system exports json and imports it, the comment cannot be associated with registered users #3003

Open
Yuumi0221 opened this issue Mar 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Yuumi0221
Copy link

Yuumi0221 commented Mar 15, 2025

问题描述 | Describe the bug

从waline管理后台导出json,修改了其他地方后再导入,会导致评论无法关联上原来的已注册用户。
如:用户Martin发了一条评论后,导出json再导入,评论会变成随机头像、角标也消失了。
Image

Image

再次导出json后对比发现"user_id"会消失,可能是导入管理系统时,系统重建索引去掉的,希望可以解决这个问题!
Image


另外还有一个问题,管理系统中可以看到有很多空白用户,即使导出json后删去,再导入依旧会恢复,想知道有没有办法可以解决?

Image

Image

问题网站 | Website URL

https://www.yuumi.link/

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

Vercel (Default)

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

GitHub


Problem Description | Describe the bug

Export json from the waline management background, modify other places and then import it, which will cause the comments to be unable to associate the original registered user.
For example: after user Martin posted a comment, exported json and imported it, and the comments would become random avatars and the corner marks would disappear.
Image

Image

After exporting json again, I found that "user_id" will disappear. It may be removed when the system is rebuilding the index when importing the management system. I hope this problem can be solved!
Image


There is another problem. You can see that there are many blank users in the management system. Even if you delete them after exporting json, you will still recover after importing them. I wonder if there is a way to solve it?

Image

Image

Question website | Website URL

https://www.yuumi.link/

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

Vercel (Default)

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

GitHub

@Yuumi0221 Yuumi0221 added the bug Something isn't working label Mar 15, 2025
@github-actions github-actions bot changed the title [Bug]: 管理系统导出又导入后,无法关联已注册用户 [Bug]: 管理系统导出又导入后,无法关联已注册用户 || [Bug]: After the management system exports and imports, it is impossible to associate registered users Mar 15, 2025
@Yuumi0221 Yuumi0221 changed the title [Bug]: 管理系统导出又导入后,无法关联已注册用户 || [Bug]: After the management system exports and imports, it is impossible to associate registered users [Bug]: 在管理系统导出json又导入后,评论无法关联已注册用户 Mar 15, 2025
@github-actions github-actions bot changed the title [Bug]: 在管理系统导出json又导入后,评论无法关联已注册用户 [Bug]: 在管理系统导出json又导入后,评论无法关联已注册用户 || [Bug]: After the management system exports json and imports it, the comment cannot be associated with registered users Mar 15, 2025
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