From 14fe40eaaeecf2afb3bccc036edff96543f97b08 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 12 Dec 2025 10:22:16 +0800 Subject: [PATCH] :bug: Fix https://github.com/siyuan-note/siyuan/issues/16561 Signed-off-by: Daniel <845765@qq.com> --- kernel/go.mod | 2 +- kernel/sql/av.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/go.mod b/kernel/go.mod index bae884710..98f42f924 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -8,7 +8,7 @@ require ( github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7 github.com/88250/gulu v1.2.3-0.20251208021445-f93f2666eaac - github.com/88250/lute v1.7.7-0.20251211085057-5dfbe6f3e1ec + github.com/88250/lute v1.7.7-0.20251211090232-ba74c9a8ff4e github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 github.com/ConradIrwin/font v0.2.1 diff --git a/kernel/sql/av.go b/kernel/sql/av.go index fc6d095c9..dc8a5d93a 100644 --- a/kernel/sql/av.go +++ b/kernel/sql/av.go @@ -565,6 +565,10 @@ func GetFurtherCollections(attrView *av.AttributeView, cachedAttrViews map[strin continue } + if nil == kv.Key.Rollup { + continue + } + relKey, _ := attrView.GetKey(kv.Key.Rollup.RelationKeyID) if nil == relKey { continue