Skip to content

使用 API 插入空字符串出现错误 #3931

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

Closed
itsYunfei opened this issue Jan 26, 2022 · 0 comments
Closed

使用 API 插入空字符串出现错误 #3931

itsYunfei opened this issue Jan 26, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@itsYunfei
Copy link

描述问题 Describe the problem

使用/api/block/insertBlock/api/block/prependBlock/api/block/appendBlock插入块,当data为空字符串""时,会出现系统运行时错误。

截屏或者录屏演示 Screenshot or screen recording presentation

image

image

版本环境 Version environment

  • Version: v1.7.8
  • Operating system: Windows 11 家庭中文版 22000.434

日志文件 Log File

I 2022/01/26 13:18:50 working.go:292: port [6806] is opened, try to check version of running kernel
I 2022/01/26 13:18:50 working.go:313: version of the running kernel is the same as this boot [1.7.8], exit this boot
I 2022/01/26 13:19:00 database.go:72: reinitialized database [D:\Documents\SiYuanNote\temp\siyuan.db]
I 2022/01/26 13:19:01 index.go:204: rebuilt database for notebook [20210809223631-hh8cap3] in [0.68s], tree stat [count=237, size=3.1 MB]
I 2022/01/26 13:19:01 index.go:214: resolving refs...
I 2022/01/26 13:19:01 index.go:354: resolved refs [242]
@88250 88250 self-assigned this Jan 26, 2022
@88250 88250 added this to the 1.8.0 milestone Jan 26, 2022
@88250 88250 changed the title 使用api插入空字符串出现错误 使用 API 插入空字符串出现错误 Jan 26, 2022
@88250 88250 added Bug and removed Enhancement labels Jan 26, 2022
@88250 88250 closed this as completed Jan 26, 2022
@88250 88250 modified the milestones: 1.8.0, 1.7.9 Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants