We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Accept Revisions not working with Number List

We have a workflow where multiple users work on the same document. This would result in the document having multiple revisions. There are some revisions related issues we see with documents involving numberlists.

Below is a scenario:
User receives a word document which consists of number lists. The first user modifies the document which involves re-ordering the number list and modifying text.

The second user then receives the same document for one of our workflows. Before loading the document we need to make sure we show the latest ver. of the document to the user. We use Aspose service to accept all revisions so the user sees the latest version of the document…

In some of the scenario, the documents involving number lists, users are seeing two different sets of number list populated in the document.

If we load the same document and use Word’s AcceptAllRevision feature, we do not see any issues.

I am attaching a sample document which has been through multiple revisions. If we acceptallrevisions on this doc using Aspose you should be able to repro the issue.

Let me know if you require further info.

Thanks,
Abhay
ReferenceDoclet_withSingleCell.zip (22 Bytes)

@abhaykhotpal,

Thanks for your inquiry. The shared ZIP file is empty. Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.

Sorry about that. Re-attaching the file.
Sample.zip (18.2 KB)

@abhaykhotpal,

Thanks for sharing the document. We have tested the scenario using latest version of Aspose.Words for .NET 18.7 with following code example and have not found the shared issue. Please use Aspose.Words for .NET 18.7. We have attached the output DOC file with this post for your kind reference. 18.7.zip (4.2 KB)

Document doc = new Document(MyDir + "Sample.doc");
Console.WriteLine(doc.Revisions.Count);
doc.AcceptAllRevisions();
Console.WriteLine(doc.Revisions.Count);
doc.Save(MyDir + "18.7.doc");