diff --git a/kernel/sql/av.go b/kernel/sql/av.go index a1175dd19..85db7c0f8 100644 --- a/kernel/sql/av.go +++ b/kernel/sql/av.go @@ -352,7 +352,7 @@ func fillAttributeViewAutoGeneratedValues(attrView *av.AttributeView, collection for _, blockID := range relVal.Relation.BlockIDs { destVal := destAv.GetValue(rollupKey.Rollup.KeyID, blockID) - if nil != viewable && nil == destVal && av.KeyTypeTemplate == destKey.Type { + if nil != viewable && av.KeyTypeTemplate == destKey.Type { destVal = viewable.(av.Collection).GetValue(blockID, destKey.ID) }