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

Unexpected behavior, files without a "current version" checkpoint in their history #2826

Open
m4v opened this issue Sep 18, 2024 · 2 comments

Comments

@m4v
Copy link

m4v commented Sep 18, 2024

I have noticed several files don't have any history in them, not even a "current version". This happens with files were their last time edited is at some point beyond the history length limit. I assume this is because the web interface doesn't search beyond this point.

The problem I'm seeing with this is that you can't revert a change if you edit an old file, despite changing it just a moment ago.

To reproduce:

  1. Find a file that has no history (any file that was edited beyond the history limit)
  2. Edit that file.
  3. Now try to go back to the version it was before the edit. You can't because the history shows only one revision and that revision points to the current version of the file.

This behavior is unexpected.

A workaround is to temporally increase the history limit, this has two problems however:

  1. It can be cumbersome if users aren't allowed to change it and need to contact the admin.
  2. Most importantly, you need to be aware of this behavior! If you don't you will just assume that the data was lost because of a Seafile bug.
@killing
Copy link
Member

killing commented Sep 19, 2024

Please provide more information:

  1. Which version of Seafile do you use?
  2. Have you set the history limit globally or in the library setting?

@m4v
Copy link
Author

m4v commented Sep 19, 2024

  1. Seafile 11.0.12 CE
  2. Limited globally in seafile.conf, setting the limit in the library setting is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants