Skip to content

Error in CopyFileHere #10

@lscorcia

Description

@lscorcia

In Folder_Ext.cs, method CopyFileHere, line 391 reads

File newFile = File.Create(destination.pk_FolderId, file.Name, user.UserProfile, true);

while it should be

File newFile = File.Create(destination.pk_FolderId, destinationName, user.UserProfile, true);

Therefore, the code creates new files with the same name of the copied one.
This error has been found using litmus' copymove tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions