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

Restoring a file to old version creates new file version #463

Open
dpakach opened this issue Jul 12, 2021 · 0 comments
Open

Restoring a file to old version creates new file version #463

dpakach opened this issue Jul 12, 2021 · 0 comments
Labels

Comments

@dpakach
Copy link
Contributor

dpakach commented Jul 12, 2021

steps to reproduce

  • Given user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt"
  • And user "Alice" has uploaded file with content "version 1" to "textfile0.txt"
  • And user "Alice" has uploaded file with content "version 2" to "textfile0.txt"
  • And user "Alice" has restored version index "1" of file "textfile0.txt"
  • And user "Alice" gets all the versions for file "textfile0.txt"

Expected result

  • The number of versions should be 2 as we get in oc10 core with default storage

Actual result

  • The number of versions is 3 there are 2 versions with same content

The test for this is in apiVersions/fileVersions.feature:438

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

No branches or pull requests

1 participant