diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index a9fc72840..5d31981dc 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -645,12 +645,6 @@ func setAttributeViewColumnCalc(operation *Operation) (err error) { func (tx *Transaction) doInsertAttrViewBlock(operation *Operation) (ret *TxErr) { for _, id := range operation.SrcIDs { tree, err := tx.loadTree(id) - if nil == tree { - operation.IsDetached = true - } else { - operation.IsDetached = false - } - if nil != err && !operation.IsDetached { logging.LogErrorf("load tree [%s] failed: %s", id, err) return &TxErr{code: TxErrCodeBlockNotFound, id: id, msg: err.Error()}