mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Return FILE_NOT_FOUND error only if the file is not found in the server, not in case of any other error checking its existence
This commit is contained in:
		
							parent
							
								
									b15fb19399
								
							
						
					
					
						commit
						5ac5c80809
					
				| @ -105,7 +105,7 @@ public class CopyRemoteFileOperation extends RemoteOperation { | |||||||
|             return new RemoteOperationResult(ResultCode.INVALID_COPY_INTO_DESCENDANT); |             return new RemoteOperationResult(ResultCode.INVALID_COPY_INTO_DESCENDANT); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if (!new ExistenceCheckRemoteOperation(mSrcRemotePath, Boolean.FALSE).run(getClient()).isSuccess()) { |         if (new ExistenceCheckRemoteOperation(mSrcRemotePath, true).run(getClient()).isSuccess()) { | ||||||
|             return new RemoteOperationResult(ResultCode.FILE_NOT_FOUND); |             return new RemoteOperationResult(ResultCode.FILE_NOT_FOUND); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user