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

data loss: named versions are lost from group folder after a while #3095

Closed
sena73 opened this issue Aug 5, 2024 · 3 comments · Fixed by #3213
Closed

data loss: named versions are lost from group folder after a while #3095

sena73 opened this issue Aug 5, 2024 · 3 comments · Fixed by #3213
Labels
1. to develop Issues that are ready for development bug feature: versions Items related to file versioning

Comments

@sena73
Copy link

sena73 commented Aug 5, 2024

"Versions" extension is not working properly with the "Group folder" extension in NC 29.

If I create named versions of a file in a group folder, they are created, but disappear after a while (noticed after days).

Old versions simply disappear in a group folder without any notice or log message. I would tell it is a severe bug, as I do not see a way to recover deleted versions.

I understand that it gonna take time to fix. But please, make at least this 2 extensions conflicting, so people will not be able to install both of them simultaneously. Or better make "Versions" menu disabled for the files in "Group folder".

I found other bugs that indicate problems when both extensions are working:

#2965 #2343

@sena73 sena73 added 0. Needs triage Issues that need to be triaged bug labels Aug 5, 2024
@joshtrichards joshtrichards added the feature: versions Items related to file versioning label Sep 9, 2024
@joshtrichards
Copy link
Member

If I create named versions of a file in a group folder, they are created, but disappear after a while (noticed after days).

You may be correct. I suspect we're expiring labeled (named) versions within GF. Offhand I don't see the GF Versions handler checking for labeled versions in the same way that the non-GF versions does:

https://github.com/nextcloud/server/blob/2480567005776cc96d543b52992c83a41d75d1a6/apps/files_versions/lib/Storage.php#L569-L570

This may have been lost during the #2543 -> #2857 jump though offhand I don't see it in the former either.

Cc: @artonge

@artonge
Copy link
Contributor

artonge commented Sep 12, 2024

@joshtrichards is right, we do have the check for "normal" versions, but I missed to implement it for groupfolders' versions.

@joshtrichards joshtrichards added 1. to develop Issues that are ready for development and removed 0. Needs triage Issues that need to be triaged labels Sep 12, 2024
@joshtrichards
Copy link
Member

Thanks for reporting this, @sena73. Will be fixed in the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Issues that are ready for development bug feature: versions Items related to file versioning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants