core icon indicating copy to clipboard operation
core copied to clipboard

[Fedshare] Changes on shared files are not propagated properly in case of delete

Open mcastroSG opened this issue 10 years ago • 7 comments

Steps to reproduce

  1. Share file1 from server A to server B
  2. Reshare file1 from server B to server C
  3. Delete file1 from serverA

Expected behaviour

"file1" should not appear at any All file view

Actual behaviour

"file1" appears at All file view on server B and C . In case of click on the file an error is shown that indicates the file does not exists anymore and All files view is refreshed to eliminate file1.

Server configuration

Operating system: Ubuntu 14.04.1 LTS Web server: Apache2 Database: Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu) PHP version: PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46 ownCloud version: (see ownCloud admin page) ownCloud Enterprise Edition 9.1.0 beta 1 (testing) Signing status (ownCloud 9.0 and above):

Are you using encryption: Disabled for server A and C Enabled for server B

mcastroSG avatar Jun 21 '16 14:06 mcastroSG

That's expected behavior. There is no process that periodically checks whether all federated mounts are still available.

@mcastroSG you tagged this as regression. Did you find an older version where this was working differently ?

PVince81 avatar Jun 22 '16 08:06 PVince81

@PVince81 I tagged as regression because this test was included as regression test for Federated Sharing, but I´ve done some test with older versions and it seems to be working in this way since. So better close this issue because as you said it´s proper behaviour.

mcastroSG avatar Jun 22 '16 10:06 mcastroSG

@PVince81 This behaviour is very annoying for the user. Perhaps we can postpone it to 9.2 or backlog. But it needs a solution at some point.

SergioBertolinSG avatar Jun 22 '16 13:06 SergioBertolinSG

Okay. I think the only solution will be to have a periodic background job for that user that checks for availability or something alike.

Or integrate it with the files_external availability check.

Or this https://github.com/owncloud/core/issues/5036 but @icewind1991 argues that the performance will be bad if there are many mounts.

PVince81 avatar Jun 22 '16 13:06 PVince81

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.

ownclouders avatar Dec 21 '17 01:12 ownclouders

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

ownclouders avatar Jan 29 '18 01:01 ownclouders

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jul 31 '19 03:07 lock[bot]