SenseNet / sensenet

Open Source Content Services Platform written in .NET
https://sensenet.com
GNU General Public License v2.0
174 stars 111 forks source link

Client.Net cannot restore an old version #2129

Open kavics opened 1 week ago

kavics commented 1 week ago

The following Client.Net code is ineffective:

var content = await repository.LoadContentAsync("/Root/Content/Documents/BusinessPlan.docx", cancel);
await content.RestoreVersionAsync("V1.0.A", cancel);

The relevant server log:

[02:25:15 VRB] 21148    ContentOperation        Pf:1386                         Node is not saved because it has no changes. Path: /Root/Content/Documents/BusinessPlan.docx