An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/15099
Daniel2c5b9cf91860
diff --git a/kernel/sql/av.go b/kernel/sql/av.goindex 9196056478..09c993ed74 100644--- a/kernel/sql/av.go+++ b/kernel/sql/av.go@@ -547,8 +547,7 @@ func removeMissingField(attrView *av.AttributeView, view *av.View, missingKeyIDlogging.LogWarnf("key [%s] is missing", missingKeyID)changed := false- switch view.LayoutType {- case av.LayoutTypeTable:+ if nil != view.Table {for i, column := range view.Table.Columns {if column.ID == missingKeyID {view.Table.Columns = append(view.Table.Columns[:i], view.Table.Columns[i+1:]...)@@ -556,7 +555,9 @@ func removeMissingField(attrView *av.AttributeView, view *av.View, missingKeyIDbreak}}- case av.LayoutTypeGallery:+ }++ if nil != view.Gallery {for i, cardField := range view.Gallery.CardFields {if cardField.ID == missingKeyID {view.Gallery.CardFields = append(view.Gallery.CardFields[:i], view.Gallery.CardFields[i+1:]...)