-
Notifications
You must be signed in to change notification settings - Fork 279
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
Using a card to stop sharing an attachment deletes the entire file. #2877
Comments
Hi, If I share a file in a card and I don't want to share it anymore, then the file must not be deleted. The word share alone says that. If I share a file in the Nextcloud with another and then no longer share it, the file is not deleted. Why does Deck behave differently? This problem is so significant that we can no longer use deck! |
Calm down. I added the label Afaik @juliushaertl is currently on vacation, maybe can @jakobroehrl have a look or you start a PR yourself. I also think the behavior was intentional, so i'd like also to ring the @nextcloud/designers in again here - maybe the idea was to avoid dead attachments which aren't used anymore. Maybe we can have a combined solution: Unshare if the file has been shared otherwise, Delete if the file is not shared / referenced anywhere else. |
Sorry for the harsh choice of words. We have been using Deck for a very long time and have gone through many development steps. But this step is a step backwards and means that we can no longer use Deck the way we do. I just think the idea behind it is wrong. The first is 'upload new file'. Here, intuitively, it says upload a file that doesn't exist in Nextcloud to this card and store it in the deck card. If now another user, who can also edit this card, deletes this attachment again, then this attachment must also be deleted. Same right for all. It can't be that the attachment is gone for this user, but still exists for all other users. The second is 'Share from file'. Here it says quite clearly. A file from Nextcloud is shared with this card, so it is linked. So it is not the card that becomes the owner of the file. Now if you don't want to link the file anymore, then the file must not be deleted. Since the card did not become the owner of the file, it must not delete it. |
Here are some ideas for making this better: #2698 |
Another thing worth mentioning is: So after adding (wrong) a file, you can't remove it other than you delete the file. |
Yes the Handling with the attachment is not very productive and intuitive. |
Expected behavior and Describe the bug
I understand attaching files actually like this.
You create a card and write a description and comments about it, then you link files. One user links a file and another user finds out that this file was not linked to the appropriate card. So the user unlinks the file. But, he does not want to delete the file!
Another problem is with the deck folder in Nextcloud. When a user deletes the contents of their deck folder, all users automatically have their data deleted and all cards have all attachments deleted as well. So a user can delete all attachments by mistake.
Client details:
The text was updated successfully, but these errors were encountered: