This project is read-only.
1

Closed

Update document: is not updated ModifiedByUserId

description

' ERROR: CreatedByUserId below instead should be ModifiedByUserId
Private Sub Update(ByVal Override As Boolean)
    ...
    ' objDocument.CreatedByUserId = UserInfo.UserID
    ' should be:
    objDocument.ModifiedByUserId = UserInfo.UserID
    ...


Public Sub UpdateDocument(ByVal objDocument As DocumentInfo)
    ' DataProvider.Instance().UpdateDocument(objDocument.ModuleId, objDocument.ItemId, objDocument.Title, objDocument.Url, objDocument.CreatedByUserId,
    '                                       objDocument.OwnedByUserId, objDocument.Category, objDocument.SortOrderIndex, objDocument.Description, objDocument.ForceDownload)
    ' should be:
    DataProvider.Instance().UpdateDocument(objDocument.ModuleId, objDocument.ItemId, objDocument.Title, objDocument.Url, objDocument.ModifiedByUserId, 
                                            objDocument.OwnedByUserId, objDocument.Category, objDocument.SortOrderIndex, objDocument.Description, objDocument.ForceDownload)                                                   
End Sub
Closed May 20 at 10:24 PM by mitchelsellers
Resolved in Version 6.2.0 that was released on GitHub today

comments