Error when updating Fields in docx

Hello,

I’m trying to save a docx file in html, but when I’m passing into the command “document.UpdateFields();” I’ve got the following error : Cannot insert a node of this type at this location.

Aspose.Words version: 21.4

Please, find in the attached file the input files and the simple code that was used.aspose.zip (6.0 MB)

Regards.

@ISIWARE,

We have logged this problem in our issue tracking system with ID WORDSNET-22421. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

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