An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Update database https://github.com/siyuan-note/siyuan/issues/10038
Daniel646210787286
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 840349e4a3..9d486d2874 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -312,7 +312,7 @@ func GetBlockAttributeViewKeys(blockID string) (ret []*BlockAttributeViewKeys) {if 0 < len(kv.Values) {ial := map[string]string{}block := getRowBlockValue(keyValues)- if !block.IsDetached {+ if nil != block && !block.IsDetached {ial = GetBlockAttrsWithoutWaitWriting(blockID)}kv.Values[0].Template.Content = renderTemplateCol(ial, kv.Key.Template, keyValues)@@ -592,7 +592,9 @@ func renderAttributeView(attrView *av.AttributeView, viewID string, page, pageSifunc renderTemplateCol(ial map[string]string, tplContent string, rowValues []*av.KeyValues) string {if "" == ial["id"] {block := getRowBlockValue(rowValues)- ial["id"] = block.Block.ID+ if nil != block && nil != block.Block {+ ial["id"] = block.Block.ID+ }}if "" == ial["updated"] {block := getRowBlockValue(rowValues)