When comparing 2 word documents, the function call never finishes.
Attached the 2 files being compared. Deleting the checkboxes on Page 3 seems to solve the issue.
My Code:
Hi
Robert,
We have reproduced the reported problem “Word document comparison hangs when
checkboxes are present” in our end. We will validate this issue and update
you with more details on 14th August 2024.
Regards,
Dharanya.
Robert,
We have confirmed that the reported issue with "Hanging issue
occurs while calling Compare API” is a defect and we have logged a defect
report. We will include the fix for this defect in our weekly NuGet release,
which is estimated to be available on 3rd September 2024.
The status of this bug can be tracked through the below link:
Hanging
issue occurs while calling Compare API in ASP.NET Core | Feedback Portal
(syncfusion.com)
Disclaimer: Inclusion of this solution in the weekly release may change due to
other factors including but not limited to QA checks and works
reprioritization.
Regards,
Dharanya.
Robert, we regret not including
the fix for the issue with "Word document comparison hangs when checkboxes are present" in our latest weekly NuGet release (v26.2.12). We are currently working on this and
will include the fix in our upcoming weekly NuGet release scheduled for 10th
September 2024. We regret any inconvenience this may cause.
The status of this bug can be tracked through the feedback
link.
Disclaimer: Inclusion of this solution in the weekly release may change due to
other factors including but not limited to QA checks and works
reprioritization.
Robert, as we have promised earlier, we have included the fix for the reported issue with “Word document comparison hangs when checkboxes are present” in our latest weekly NuGet
release (v26.2.14).
Root cause of the issue:
Document has continuous empty text ranges and check box. So the reported issue
occurs.
Please use the below link to download our latest weekly NuGet:
Syncfusion.DocIO.Net.Core
The status of this bug can be tracked through the feedback link.
Note: We will include this fix in our 2024 Volume 3 release, which will
be available at the mid of September 2024.
I am still having issues:
Adding compareOptions.DetectFormatChanges = false causes an error. I am using the same files that I attached at the start of this thread.
I am also having issues running this code with these 2 files. I have attached the 2 files to compare.
This missing functionality is blocking me, I was not able to find a quick workaround. If you find a fast workaround, could you let me know?
Code:
Robert,
We have reproduced the reported problems “System.NullReferenceException
thrown while compare documents” and “System.ArgumentOutOfRangeException
thrown while compare documents” in our end. We will validate this issue and
update you with more details on 18th August 2024.
Regards,
Dharanya.
Robert,
Apologies for the confusion in my previous message. I mistakenly mentioned 18th
August 2024. The correct date for providing an update on the reported issues,
“System.NullReferenceException thrown while comparing documents” and
“System.ArgumentOutOfRangeException thrown while comparing documents,” on Tomorrow
(18th September 2024).
Regards,
Dharanya.
Robert,
We have confirmed that the reported issue with “NullReferenceException
throws while comparing documents with DetectFormatChanges API disabled” is
a defect and we have logged a defect report. We will include the fix for this
defect in our weekly NuGet release, which is estimated to be available on 8th
October 2024.
The status of this bug can be tracked through the below link:
NullReferenceException
throws while comparing documents with DetectFormatChanges API disabled in
ASP.NET Core | Feedback Portal (syncfusion.com)
We have confirmed that the reported issue with “ArgumentOutOfRangeException throws
while comparing documents with DetectFormatChanges API disabled” is a
defect and we have logged a defect report. We will include the fix for this
defect in our weekly NuGet release, which is estimated to be available on 8th
October 2024.
The status of this bug can be tracked through the below link:
ArgumentOutOfRangeException
throws while comparing documents with DetectFormatChanges API disabled in
ASP.NET Core | Feedback Portal (syncfusion.com)
Disclaimer: Inclusion of this solution in the weekly release may change due to
other factors including but not limited to QA checks and works
reprioritization.
Regards,
Dharanya.
Robert,
Regarding “NullReferenceException throws while comparing documents with
DetectFormatChanges API disabled”:
As we have promised earlier, we
have included the fix for the reported issue with “NullReferenceException throws while comparing
documents with DetectFormatChanges API disabled” in
our latest weekly NuGet release (v27.1.52).
Root cause of the issue:
The document contains a custom style applied to the paragraph. Typically,
custom styles are identified using a custom tag, but in this case, the document
contains a custom style without the tag, which causes the issue.
The status of this bug can be tracked through the feedback link.
Regarding “ArgumentOutOfRangeException throws
while comparing documents with DetectFormatChanges API disabled”:
As we have promised earlier, we have included the fix for the reported issue
with “ArgumentOutOfRangeException
throws while comparing documents with DetectFormatChanges API disabled” in
our latest weekly NuGet release (v27.1.52).
Root cause of the issue:
The document contains multiple bookmarks across different paragraphs. So during
comparison, bookmarks are not handled properly causing an issue.
The status of this bug can be tracked through the feedback
link.
Please use the below link to download our latest weekly NuGet:
Syncfusion.DocIORenderer.Net.Core
Note: We will include this fix in our 2024 Volume 4 release, which will
be available at the second week of December 2024.