Skip to content

文章可见性设置为私有时,后端会报错 #40

@littleHandsomedog

Description

@littleHandsomedog

是什么版本出现了此问题?

2.0.2

在线站点地址

No response

发生了什么?

文章可见性设置为私有时,后端会报错

相关日志输出

halo    | 2024-03-09T20:34:49.249+08:00 ERROR 7 --- [ndedElastic-126] o.t.spring6.SpringWebFluxTemplateEngine  : [THYMELEAF][boundedElastic-126] Exception processing template "index": Exception evaluating SpringEL expression: "#strings.length(post_data.content)" (template: "modules/index-post-list" - line 63, col 43)
halo    | Caused by: java.lang.IllegalArgumentException: Cannot apply length on null

附加信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions