Skip to content

[BUG]sqlbot历史对话标题中如果出现‘/’则删除时会报错 #1232

Description

@Baiyu-learning

SQLBot Version
1.9.0
Run Mode
Is it running in a Docker container or running from source code?
Docker container
Describe the bug
A clear and concise description of what the bug is.
当历史对话的对话名称中出现‘/’时,该会话会变得无法删除
To Reproduce
Steps to reproduce the behavior:

  1. 新建会话,保存后如果名称中出现‘/’点击删除,即可看到错误信息(如果自动生成的题目没有‘/’,自己敲一个进去也可)
Image
  1. 此时点击删除发现报错
Image

3.去掉/再进行删除发现可以正常删除

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions