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

Free Support Forum - aspose.com

Deleted Bookmark appears again after UpdateFields

Hello,
I have a document with several bookmarks. I remove all bookmarks, but when I execute the UpdateFields function on the document, a specific bookmark (“ANNUITY_RATES”) comes back. Why is this happening for this bookmark?
Here a project doing that:
TestInsertRTF.zip (5.3 MB)

@stanlife

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-17785. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hello, could you please give an update about the status of the problem?

@stanlife

Thanks for your patience. It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-17785) as ‘Not a Bug’.

The ANNUITY_RATES bookmark is populated by the SET field:

{ SET ANNUITY_RATES "ANNUITY_RATES" * MERGEFORMAT }

Please note that Aspose.Words mimics the behavior of MS Word. If you delete all bookmarks and update the field using MS Word, you will get the same output.