CFPDFForm tag action=”populate” not creating PDF form with field value form PDF binary object| View in Tracker
Reporter/Name(from Bugbase): Ray G. / ()
Failure Type: Data Loss
Found In Build/Fixed In Build: 2018 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 0
Problem Description: This issue only occurs in CF2018 and does not occur in CF11. We have applied the latest update for CF2018 which is Update 8. On a PDF form submission, the PDF binary object created by ColdFusion has field values that do not get saved when the PDF file is create via the CFPDFForm tag with action=”populate”. <cfpdfform action="populate" source="#PDF.content#" destination="#strDestinationPath#" overwrite="no"/> However, the field values do appear in the XML results when the PDF binary object is read via the CFPDFForm tag with action=”read”. <cfpdfform source="#PDF.content#" action="read" XMLData="strFields" /> Steps to Reproduce: 1. Create a form submitted binary object a. Used attached PDF form b. Open form in AEM Designer c. Modify submit XML tag so that ColdFusion can create PDF binary object d. Save form e. Open form for end-user data entry f. Enter date value in RFE Date field g. Click “Edit info below if needed … “ button located above the RFE Date field h. Ensure same entered date value is dynamically populated next to first checkbox i. Click on “Save To Case” button in upper-right hand corner to submit form to ColdFusion 2. Display PDF object content with CFPDFForm tag using action=”read” <cfpdfform source="#PDF.content#" action="read" XMLData="strFields" /> 3. Notice XML field tag below is populated with a date value MODULE_REQUEST_FOR_EVIDENCE_ISSUANCE_DT 4. Create PDF form with CFPDFForm tag using action=”populate” <cfpdfform action="populate" source="#PDF.content#" destination="#strDestinationPath#" overwrite="no"/> Actual Result: XML results shows the field below has date value <MODULE_REQUEST_FOR_EVIDENCE_ISSUANCE_DT>Jan 21, 2020</MODULE_REQUEST_FOR_EVIDENCE_ISSUANCE_DT> File is created but PDF form field below is not populated in the generated PDF file. MODULE_REQUEST_FOR_EVIDENCE_ISSUANCE_DT.formattedValue Expected Result: File is created but field is not populated in the generated PDF file. Any Workarounds: None.