Closed tomaswangen closed 5 years ago
Hi @tomaswangen, thanks for the detailed report! 🛠
I could reproduce the issue. You're right, there should be only one new version, because when you upload a new binary to a file that is already locked for you, no new version should be created.
It seems that in this case when you upload to a locked file that has a special character in its name, it behaves differently: it creates a new version. We will look into this and keep track of the process on this issue.
@tomaswangen we fixed the bug and released a new package. Please update the nuget package of the client library to version 2.0.1 and confirm that the issue has gone.
@tusmester I can confirm that the fix works.
Thanks for resolving this very quickly!
Hi,
I am unsure if this issue is in SenseNet.Client (2.0.0) or SenseNet (7.6.1).
It is slightly obscure as all these conditions must be present for it to occur:
Expected behavior: One new version Actual behavior: One file version per mutation (upload and/or field changes) + ClientException during checkin
A small example demonstrating the issue that should work on a baseline version: