And I also inserted one table caption and one figure caption as:
Table {SEQ Table * ARABIC * MERGEFORMAT}
Figure {SEQ Figure * ARABIC}
But we can not get the correct TOT and TOF, only TOC is correct after calling document updateFields. The TOT and TOF have the same content as TOC. The table and figure captions were not displayed into TOT and TOF.
If I use Word update fields function. the content got update as my expected.
I am not sure what’s wrong here. or I missed something. Is it a defect of Aspose Word for java? Please help me figure it out.
Hi
Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,
Hi
Thanks for your request. There is no way to view our defect database. It is for internal use only. If you would like track this thread please click «Enable Email Subscription» on the top of this thread. When we will fix this issue we will post the notification message in this thread and you will get e-mail notification.
Best regards,
Hi
Thanks for your inquiry. Unformatunately this issue is in process of analyze. Unfortunately, I cannot give you any estimate at the moment. Our developers will analyze the issue and then we will be able to provide you more information.
Best regards,
It seems the issue was not fixed in the latest verion 10.2.0. Pleae try my attached out.doc, and run the below code:
Document d = new Document("out.doc");
d.updateFields();
d.save("out2.doc");
It will throw the below exception:
Exception in thread "main" java.lang.NullPointerException
at com.aspose.words.nu.f(FieldSeqDataProvider.java:29)
at com.aspose.words.oo.m(FieldUpdater.java:213)
at com.aspose.words.ok.Jb(FieldUpdateContext.java:82)
at com.aspose.words.Field.Gl(Field.java:478)
at com.aspose.words.Field.a(Field.java:397)
at com.aspose.words.oo.a(FieldUpdater.java:154)
at com.aspose.words.oo.l(FieldUpdater.java:107)
at com.aspose.words.ol.execute(FieldUpdateExecutionItem.java:82)
at com.aspose.words.oo.hm(FieldUpdater.java:97)
at com.aspose.words.oo.updateFields(FieldUpdater.java:57)
at com.aspose.words.Range.updateFields(Range.java:172)
at com.aspose.words.Document.updateFields(Document.java:988)
at test.zjyin.FieldsUpdateTest.main(FieldsUpdateTest.java:12)
Hello
Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,
Hi Vincent,
Thanks for your request. I understand that the issue is very critical for you. But unfortunately, it is not resolved yet. I asked the responsible developer to take a look at this issue shortly.
I apologize for inconvenience.
Best regards.
Hi Vincent,
Thanks for your request. I am afraid it is not possible. We already preparing the July release and no new fixes will be included in it. I apologize for inconvenience.
Best regards,
Can I have the date on which you can fix the reported issue? We really need it
get fixed in Aug earlier, because our product latest release will use Aspose
10.x.0, and the issue has blocked our release. And if we release our product without a fix from you, our customers
will be unhappy seeing regressions.
Hi
Thanks for your request. The issue is already resolved in the current code base. Currently the fix is in the queue for review. Most probably the fix will be included into the next hotfix. We release new version of Aspose.Words at the end of each month. So The next version will be available at the end of August.
Best regards,