Saving RTF documents generates corrupt rtf document

Dear aspose team,

our customizers are having problems with some mailmerge templates.

I found that under special circumstances the generated rtf-document which we use as template’s datasource gets corrupt.
I guess it gets to a problem is one mergefield is devided by a linebreak. But I’m not sure. I attached code of a test method which generates such a corrupt rtf file. I attached as well a rtf document generated by the testcode.


Thanks a lot! Kind regards,


version 10.7 is not affected. 13.1.0 is affected

Hi Jens,


Thanks for your inquiry. I have tested the scenario and have not found the shared issue while using latest version of Aspose.Words for Java 13.2.0. I would suggest you please upgrade to the latest version (v13.2.0) from here:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/entry448723.aspx

Please let us know if you have any more queries.

Hi Tahir,

thank you for your reply. Indeed the bug seems to be fixed in 13.2.0. Thanks!


Cheers,

Hi Jens,


Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.