PDF created in Lucee does not show content below <th>

I found a strange issue with the PDF generated in Lucee with <cfdocument> tag. The document spans multiple pages and I used <th> inside <thead> so that the content displays over the table in all the pages. The PDF was successfully created and rendered in the browser. On every page I can see the content in the <th> displayed above the table content. Then, if I try to use the print button in the rendered PDF in the browser (the button in the top right section along with download button) to physically print the document, the first page prints correctly. But subsequent pages just display the content inside the <th> and the rest of the body will be blank. The header and footer displays just fine.
We fixed it by removing the <th> tag and the content got displayed correctly.

I thought I will post this here so that if this is a bug in Lucee (version Lucee it can be fixed by the team.

Which version of the PDF extension are you running? latest is

Can you file a bug with a reduced test case?

1 Like

Hi @Zackster, I’m using the latest version.

Hi @Prasanth_Kumar_S,

I’ve tested with above scenario & Confirmed the issue on latest PDF version . Issue occurs while using <th> inside of the <thead> in cfdocument tag. But it fixed by adding <tr> tag at outside of the <th> like,


Both ACF and Older PDF versions are working as expected without <tr> tag. So please arise ticket for this issue on Jira (https://luceeserver.atlassian.net/).

Thank you @Zackster and @cfmitrah. I will raise a ticket for this issue.