Issue report by Steve Noble
Product
FileMaker ProVersion
14.0.1Operating system version
Mac 10.10.3Description of the issue
When running a script with the script step save as PDF AND if the layout contains any portals with no records. The pdf is corrupt. Error message appears and some data is missing from layout.This was an issue with existing layout and script. I recreated a new layout from scratch without copy and paste and recreated a script from scratch. In both cases the issue continued. I have tried with another layout from a different table. The issue continued.
When at least one record added to every portal the PDF is saved and is not corrupted.
Steps to reproduce the problem
Create Layout with multiple portals. Not sure if only one more has same issueCreate script with step to save as pdf
run script with at least one portal with no records - pdf corrupt.
Add records to all portals pdf works correct.
Print manually and save as a pdf works correct.
Expected result
Clean PDFActual result
The pdf is corrupt. Error message appears and some data is missing from layout.Exact text of any error message(s) that appear
An Error exists on the page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.Configuration information
FMS Server 13.05.520FMPA 14.0.1
Acrobat Reader 10.1.14
Setting in script step set to save in acrobat 7.0 or higher (highest available setting.
FMS 13.0
Workaround
Print manually and save as a pdf works correct.Screenshot
