siyuan-note/siyuan · error

attribute view item [%s] not found

Error message

attribute view item [%s] not found

What it means

Error "attribute view item [%s] not found" thrown in siyuan-note/siyuan.

Source

Thrown at kernel/model/attribute_view_render.go:386

			ret[keyValues.Key.Rollup.KeyID] = struct{}{}
		}
	}
	return
}

func getAttributeViewPasteRowsFromTable(table *av.Table, startItemID string, count int) (rows []*av.TableRow, err error) {
	if count < 1 {
		return nil, fmt.Errorf("invalid paste row count [%d]", count)
	}
	start := -1
	for i, row := range table.Rows {
		if row.ID == startItemID {
			start = i
			break
		}
	}
	if 0 > start {
		return nil, fmt.Errorf("attribute view item [%s] not found", startItemID)
	}
	end := start + min(count, len(table.Rows)-start)
	return table.Rows[start:end], nil
}

func RenderAttributeViewWithTarget(blockID, avID, viewID, query string, page, pageSize int, groupPaging map[string]any, initialLayout av.LayoutType, createIfNotExist, ignoreRows bool, targetItemID, targetGroupID string) (viewable av.Viewable, attrView *av.AttributeView, target *AttributeViewRenderTarget, err error) {
	if !ast.IsNodeIDPattern(avID) {
		err = ErrInvalidID
		return
	}

	waitForSyncingStorages()

	// 加密笔记本的 AV 定义存笔记本级路径,通过 blockID 反查 boxID
	avBoxID := ""
	if "" != blockID {
		bt := treenode.GetBlockTree(blockID)
		if nil == bt {

View on GitHub (pinned to 251596fc0d)

Solutions

  1. Refresh the attribute view; the row may have been deleted by another client.
  2. Use a current item ID from a fresh render of the attribute view.

Example fix

Reload the database view and retry the edit on a row that is currently visible.

When it happens

Trigger: Editing or moving a database row that no longer exists in the attribute view.

Common situations: Occurs when pasting or updating a row that was deleted in another tab or device before the request completed.


AI-assisted analysis of siyuan-note/siyuan@251596fc0d (2026-08-12). Data as JSON: /api/errors/75f46c191af8e33f. Report an issue: GitHub.