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

2.20.4 管理员发布文章后,自动跳到了个人中心? #6901

Closed
ahong18s opened this issue Oct 19, 2024 · 2 comments · Fixed by #6902
Closed

2.20.4 管理员发布文章后,自动跳到了个人中心? #6901

ahong18s opened this issue Oct 19, 2024 · 2 comments · Fixed by #6902
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@ahong18s
Copy link

系统信息

使用的哪种方式运行?

Docker

发生了什么?

发布文章后,返回到了“个人信息”页面,此时没有文章、评论等功能菜单。

并且,此时不能进入控制台,直到我关闭这个页面,从前端重新进入控制台。

I'm 管理员哒?!

复现步骤

1、编辑文章,md编辑器,空白内容不填写、不保存(此时没有生成id的场景)
2、离开一会儿后返回时登录失效,跳转登录页并登录后,自动重定向了编辑文章的页面,填写内容并发布文章
3、发布后,应该返回文章列表页面,但其实返回到了“个人中心-我的”,如“附加信息-截图”截图所示

相关日志输出

页面跳转行为,没有日志。

附加信息

截图:https://github.com/ahong18s/ISSUE/blob/master/halo/%E7%BC%96%E8%BE%91%E6%96%87%E7%AB%A0%E5%90%8E%E8%87%AA%E5%8A%A8%E8%BF%94%E5%9B%9E%E5%88%B0%E4%BA%86%E4%B8%AA%E4%BA%BA%E4%B8%AD%E5%BF%83%EF%BC%9F_2024-10-19_11-55-44.png

@ahong18s
Copy link
Author

复现步骤1、是“新增文章”不是“编辑文章”

@ruibaby
Copy link
Member

ruibaby commented Oct 19, 2024

感谢反馈,可以复现,原因是

没有适配新的登录流程。

/assign
/kind bug

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 19, 2024
f2c-ci-robot bot pushed a commit that referenced this issue Oct 19, 2024
…6902)

#### What type of PR is this?

/area ui
/kind bug
/milestone 2.20.x

#### What this PR does / why we need it:

修复通过登录跳转到文章编辑页面时,发布文章会跳转到个人中心的问题。

#### Which issue(s) this PR fixes:

Fixes #6901 

#### Special notes for your reviewer:

测试步骤:

1. 新建文章,编写内容,但是不发布
2. 在新的浏览器选项卡中退出登录
3. 回到文章编辑页面,跳转到登录页面重新登录之后,发布文章
4. 观察是否会返回到 Console 的文章管理页面。

#### Does this PR introduce a user-facing change?

```release-note
修复通过登录跳转到文章编辑页面时,发布文章会跳转到个人中心的问题。
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants