Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.1 beta 2 : share_folder / sync / etag propagation #16505

Closed
centredecalcul opened this issue May 21, 2015 · 6 comments · Fixed by #17083
Closed

8.1 beta 2 : share_folder / sync / etag propagation #16505

centredecalcul opened this issue May 21, 2015 · 6 comments · Fixed by #17083

Comments

@centredecalcul
Copy link

My test focus on shared file synchronisation with desktop client, and it failed.

I use the share_folder parameter in server file config.php to define an alternate folder (not /) :
'share_folder' => '/share_subdir',

Steps to reproduce :

  1. create two users "u1" and "u2"
  2. configure desktop for user "u2"
  3. login as "u1"
  4. create or upload a file named "file1"
  5. share "file1" with user "u2"
  6. check in the desktop if the file appear in "share_subdir/file1"

Expected result :

  • shared files should be synchronized in "share_folder" on desktop client

Actual result :

  • files are not synchronized until other modifications are made in share_folder
  • files appears in web interface for user u2

I will post cadaver result soon.

Antoine

@centredecalcul
Copy link
Author

cadaver result (with 'share_folder' => '/Partage',) :

Before u1 share a file :

dav:/test/owncloud_dev/remote.php/webdav/> ls Partage
Listing collection `/test/owncloud_dev/remote.php/webdav/Partage/': succeeded.
BourgogneFEDER.jpg 5610 mai 21 17:05

dav:/test/owncloud_dev/remote.php/webdav/> propget Partage
Fetching properties for `Partage':
DAV: getlastmodified = Thu, 21 May 2015 15:06:17 GMT
DAV: resourcetype = DAV:collection/DAV:collection
DAV: quota-used-bytes = 5610
DAV: quota-available-bytes = 10262130688
DAV: getetag = "555df46988b57"

After u1 share file : ETAG don't change

dav:/test/owncloud_dev/remote.php/webdav/> ls Partage
Listing collection `/test/owncloud_dev/remote.php/webdav/Partage/': succeeded.
BourgogneFEDER.jpg 5610 mai 21 17:05
default.png 4796 mai 21 17:10

dav:/test/owncloud_dev/remote.php/webdav/> propget Partage
Fetching properties for `Partage':
DAV: getlastmodified = Thu, 21 May 2015 15:06:17 GMT
DAV: resourcetype = DAV:collection/DAV:collection
DAV: quota-used-bytes = 10406
DAV: quota-available-bytes = 10262122496
DAV: getetag = "555df46988b57"

After u2 change something in folder "Partage" : ETAG change

dav:/test/owncloud_dev/remote.php/webdav/> propget Partage
Fetching properties for `Partage':
DAV: getlastmodified = Thu, 21 May 2015 15:16:45 GMT
DAV: resourcetype = DAV:collection/DAV:collection
DAV: quota-used-bytes = 112298
DAV: quota-available-bytes = 10261753856
DAV: getetag = "555df6dd287c5"

@centredecalcul
Copy link
Author

Same issue in 8.1 RC1

@DeepDiver1975 DeepDiver1975 added this to the 8.1-current milestone Jun 22, 2015
@DeepDiver1975
Copy link
Member

@icewind1991 regarding etag propagation - please have a look - THX

@DeepDiver1975
Copy link
Member

@cmonteroluque setting sev1 because we shall simply sync

@icewind1991
Copy link
Contributor

Can reproduce, working on it

@PVince81
Copy link
Contributor

PR here #17083

@lock lock bot locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants