Corrupt .docx file saved when opening and saving a Word document with a chart using labels

Running the following code:

var doc = new Document(@"C:\Temp\Test Chart.docx");
doc.Save(@"C:\Temp\Test Chart resaved.docx");

on the attached files creates a corrupt .docx file. It seems to be working when the labels in the chart is not present.

Test chart.zip (27.4 KB)

(Internal ID 12579)

@lars.olsson,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15732. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@lars.olsson,

The issues you have found earlier (filed as WORDSNET-15732) have been fixed in this Aspose.Words for .NET 17.9 update and this Aspose.Words for Java 17.9 update.