Page 1 of 1

Sometimes docx4j is deleting items

PostPosted: Fri Jul 01, 2016 5:35 pm
by borja
Hello,

I have a program that generates invoices using docx4j. It's working really well. I have 2 tables and about 10 merge fields inside text boxes. 80% of the time is working right, but sometimes docx4j is deleting 2 text boxes and a blue line graphic object that has nothing to do with the fields.
When this happens one time, every time i try to create an invoice, it fails. I have to restart the entire program (i think its necessary to reinitizalize the API) to get it working again.

Any ideas of what is happening?

Thank you,
Borja.

Re: Sometimes docx4j is deleting items

PostPosted: Fri Jul 01, 2016 6:57 pm
by jason

Re: Sometimes docx4j is deleting items

PostPosted: Fri Jul 01, 2016 7:43 pm
by borja


So, i have to recompile docx4j with the changes in file JaxbValidationEventHandler.java or its already fixed in the last version?

Thank you

Re: Sometimes docx4j is deleting items

PostPosted: Sat Jul 02, 2016 11:24 am
by jason
See the final comment in the issue: fixed in v3.3.0