Can't copy item to the same folder
DemianSteelstone opened this issue · 1 comments
DemianSteelstone commented
Hi, I've tried to make a copy of a file (copy to the same folder), but got an error here:
[ODXActionController copyItem:self.selectedItems.firstObject withClient:self.client viewController:self completion:^(ODItem *item, ODAsyncOperationStatus *status, NSError *error){
if (item || error){
[self showMovedOrCopiedItem:item withError:error];
}
}];
Error Domain=com.microsoft.onedrive.errors Code=500 "internal server error" UserInfo={error= malformed : (null), NSLocalizedDescription=internal server error}
Also it call completion block twice.
- item == nil and error == nil
- item == nil and error above
Anything I can do?
DemianSteelstone commented
My bad, didn't change item copy name