From 35357f3afb90dec1d0a9755ab0e0504a916c5e5a Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Fri, 28 Sep 2012 18:47:54 +0200 Subject: etag has to be removed after version rollback to enable the sync client to detect the changes (bug #1829) --- lib/filesystemview.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/filesystemview.php') diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 02a0b521053..2950ced5f9e 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -451,8 +451,9 @@ class OC_FilesystemView { OC_Filesystem::signal_post_write, array( OC_Filesystem::signal_param_path => $path2) ); - } else { // no real copy, file comes from somewhere else, e.g. version rollback -> just update the file cache without all the other post_write actions + } else { // no real copy, file comes from somewhere else, e.g. version rollback -> just update the file cache and the webdav properties without all the other post_write actions OC_FileCache_Update::update($path2, $this->fakeRoot); + OC_Filesystem::removeETagHook(array("path" => $path2), $this->fakeRoot); } return $result; } -- cgit v1.2.3