-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Meta data lost when recipient restores a file #22594
Comments
Possible Solution
Since this solution is rather complicated with the conditions that can happen (unshare of parent, delete, etc.) it might be needed to copy meta data on copy? For 9.0 we should at least consider to copy the tags, to make sure the work of the autotagging app is still as desired. |
deleting a share file means unshare - so restore should then be a 'simple' un-unshare. what am I missing? |
@DeepDiver1975 this is not about single file shares. Share a folder and have the recipient delete a file inside that shared folder. |
...and the recipient gets a copy of those files to be able to restore them. (but this will result in a new fileid) |
so step 3 is wrong - should be - share the folder containing the file |
so this duplication of data requires duplication of tags and comments as well ... bääh |
you got it |
Right, sorry fixed the steps |
np - thx |
I tend to agree on that ... what about creating a copy of a file? Does this cause copy of tags and comments? |
Currently it does not |
we should consider this ... any file can be copied via webdav |
the problem is, when you copy a folder, you need to recursivly do all that... |
true :puke: |
No topic for 9.1, this is a conceptual issue in the trashbin and might need a redesign |
Note, to clarify the title: the metadata is already lost at the time we create a copy of the files for the recipients. Only the owner has access to the old metadata. So far a proposal was to have a special link so that when the recipient triggers a restore of the file, it will actually trigger a restore from the owner's perspective. This is fine for this one scenario. However there will likely be another scenario for #24053 when moving out a file out of a share would also create a copy in the owner's trashbin. In this case we can't keep a link in the same way. Maybe we need to copy the metadata. But looking at copying metadata would mean copying all the following:
|
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
also direct links get lost |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
moving to triage. this would need a redesign of trashbin and/or the storage architecture to allow for linking files (symlinks or virtual files) to allow multiple trashbins to contain the same file entries with the same file id estimate for coming up with multiple possible concepts: 1-2md. |
This issue has been automatically closed. |
Steps to reproduce
Expected behaviour
Comments and tags should still be there
Actual behaviour
Comments and tags are missing, because the file ID changes, when the item is restored by a recipient instead of the owner
Server configuration
ownCloud version: 9.0 beta 2
List of activated apps:
@PVince81 @schiesbn
The text was updated successfully, but these errors were encountered: