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

v4.5.0: unsharing directories does not make them disappear #68

Closed
msrex opened this issue Oct 23, 2012 · 15 comments
Closed

v4.5.0: unsharing directories does not make them disappear #68

msrex opened this issue Oct 23, 2012 · 15 comments
Labels
Milestone

Comments

@msrex
Copy link

msrex commented Oct 23, 2012

first, unsharing files (by clicking on the X at the right) works fine and as expected.

When you unshare a directory, it does not disappear. instead you keep seeing the 'Shared"-folder plus the "unshared" folders in there. when you then click on a directory (previously unshared) you are dropped into the owncloud root folder.
And you can start over.

Reproduction:

  1. set up an instance with 2 users and some files and directories in there. nothing fancy.
  2. log in as user2 (webfrontend)
  3. share a few files and directories from user2 to user1.
  4. log in as user1 (webfrontend)
  5. in the shared folder unshare a few files and directories (click the X on the right)
    -> the files and the directories are unshared and disappear as they should. but when you go back into the shared folder, the directories are zombies.
@MTGap
Copy link
Contributor

MTGap commented Oct 23, 2012

I can't reproduce this. Does the sharing dropdown no longer list the folder as being shared with that user?

@msrex
Copy link
Author

msrex commented Oct 23, 2012

no, if user2 checks this, it does not. yet it still shows up for user1 in the shares-folder. but only the directory entry.

@MTGap
Copy link
Contributor

MTGap commented Oct 23, 2012

I think I misinterpreted you the first time, but I can't reproduce this either. User 1 is unsharing the folder from himself correct?

@msrex
Copy link
Author

msrex commented Oct 23, 2012

that is correct - user1 unshares from himself by clicking on the X at the right end of the row.

@MTGap
Copy link
Contributor

MTGap commented Oct 23, 2012

Is the Javascript console giving you any errors or errors in the webserver error log? Do you see the 'unshared foldername undo' notification at the top?

@msrex
Copy link
Author

msrex commented Oct 23, 2012

It happens after the unshared.
At first it is unshared normally, and disappears (with the yellow notification).
Then I go back to the ownCloud root path. The 'Shared' folder is still there, although it should be empty (I unshared everything).
Then when I change into the 'Shared' folder, I see the previously unshared directories, that I cannot change into.
I updated the description above for clarity.

@MTGap
Copy link
Contributor

MTGap commented Oct 23, 2012

Is this a new install? I'm a little confused why this would happen unless the files were in the file cache from an older install.

@msrex
Copy link
Author

msrex commented Oct 23, 2012

This is a new install and new files. I am pretty certain. On the other hand I tested so many different configurations the last 2 days, let me retest and get back to you.

Is the cache cleared when you unshare a file?

@MTGap
Copy link
Contributor

MTGap commented Oct 23, 2012

The folders shouldn't be in the filecache at any time, they are stored elsewhere. So, they should never reappear once deleted. I just suspected it because I can't reproduce and there might have been an error during an update.

@msrex
Copy link
Author

msrex commented Oct 23, 2012

It definitively was a clean installation as we downloaded and ran off our v4.5.0 appliance. We might have tried to reproduce a few other bugs before, but always started over after we hit a bug. If a bug was not present before we continued to the next bug.

So no upgrade issue.

@DeepDiver1975
Copy link
Member

@msrex can you please restest this with 4.5.2? There have been a lot of fixes in this area. THX

@msrex
Copy link
Author

msrex commented Dec 11, 2012

Just verified with v4.5.4 - behaviour is still there. Please try exactly the reproduction steps and you'll see what is wrong.

@webwurst
Copy link

Same for me using v4.5.6

@karlitschek
Copy link
Contributor

@icewind1991 Can you have a look?

@jancborchardt
Copy link
Member

I’m closing this bug because it has been inactive for a few months. This probably means it’s not reproducible or it has been fixed.

Please reopen if the error still persists with ownCloud 5.0.9 (the latest stable version) and then please use the issue template.

Thank you!

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

No branches or pull requests

6 participants