This commit is contained in:
Daniel 2025-06-29 15:53:56 +08:00
parent b77f3907f7
commit 276ea42188
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 27 additions and 13 deletions

View file

@ -1876,6 +1876,13 @@ func (tx *Transaction) doDuplicateAttrViewView(operation *Operation) (ret *TxErr
})
}
if nil != masterView.Group {
if copyErr := copier.Copy(view.Group, masterView.Group); nil != copyErr {
logging.LogErrorf("copy group failed: %s", copyErr)
return &TxErr{code: TxErrWriteAttributeView, id: avID, msg: copyErr.Error()}
}
}
view.PageSize = masterView.PageSize
switch masterView.LayoutType {