Closed (fixed)
Project:
Views PDF
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2021 at 15:52 UTC
Updated:
27 May 2025 at 13:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rickj commentedCould you provide a bit more detail please?
What output layout are you using (i.e. unformatted or table)?
When you say the empty field is rendered, in what sense, do you mean there is empty space which was previously closed, or something else?
Any sample output would be helpful.
Thanks
Comment #3
rickj commentedComment #4
jkdevsusa commentedThe same thing is happening to me, in my case the view has an output format of "pdf_unformatted", and basically is that in version 7.x-1.7 the fields had the option enabled to be hidden if they had no value, but with the update to 7.x-3.1, this configuration is not working, because the fields that have no value (null or empty) are generated in the pdf, generating a blank space visually. Any suggestions?
Comment #5
rickj commentedThanks, that's a bit more info.
I've looked at the code again, and I think I can see where a test for empty data got dropped in 7.3.
Please try the attached patch and let me know the result.
Comment #7
rickj commented