Hello!
We have a document that includes a field code. When compared with a similar version of the same document, the comparison crashes.
117.docx (13.3 KB)
217.docx (13.3 KB)
The problems seems to have something to do with the paragraph break within the field code. If the paragraph break is removed, the comparison works fine.
Comparing the documents produces the following exception:
Unhandled exception. ☻♥: Error occurred while converting document.
at ►§.☻(List`1 ☻, CompareOptions, ☻♥§ ♣, ☻↨§ ♠, Int32 ♥)
at ♣§↓.☻(Int32 ☻)
at ♣§↓.☻()
at ♣§↓.GetStream()
at GroupDocs.Comparison.Comparer.Compare(Stream document, SaveOptions saveOptions, CompareOptions compareOptions)
This code was run with GroupDocs.Comparison 24.7.0 in a .NET 6.0 console application on a Windows 11 machine:
using var comparer = new Comparer(loadPath1);
comparer.Add(loadPath2);
comparer.Compare(outputPath);
When comparing the documents with the online tool we get the following error:
Error
Something went wrong
Server is not available
I suppose this is because of the same crash