tracker issue : CF-4060761

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: <cfhtmltopdf> generates metadata title as temp file path

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 09/21/2015

Components: Document Management

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on May 17, 2018 using build 2016.0.01.298513
<cfhtmltopdf> generates metadata title as temp file path

Steps to reproduce:

1) run cfhtmltopdf(destination=expandPath('./MyPDF.pdf'), overwrite="true") {writeOutput("my PDF");};
2) open MyPDF.pdf with Adobe Acrobat Professional
3) go to File > Properties > click "Additional Metadata" button > click "Advanced" at the left > expand "XMP Core Properties" > expand "xmp:Title"

Actual result: see title is like: "C:\ColdFusion11\cfusion\tmpCache\CFPDFServiceFileServlet\_cf_pdf\PDFFILE_-xxxxxxxxxx.html"

Expected result: No title should be generated.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4060761

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

  1. September 29, 2015 00:00:00: 1_MyPDF.png
  2. September 29, 2015 00:00:00: 2_20150929_MyPDF.pdf
  3. September 29, 2015 00:00:00: 3_20150929_screenshot.jpg

Comments:

Hi Aaron, I tried replicating this issue, but I do not see any xmp:Title under "XMP Core Properties". However, I am able to see this path under "Dublin Core Properties". Please find a screenshot attached. Please provide ColdFusion build number along with update details.
Comment by Nimit S.
5804 | September 29, 2015 01:02:39 AM GMT
Hi Nimit, I've attached the PDF (20150929_MyPDF.pdf) and screenshot (20150929_screenshot.jpg). The PDF was generated w/ CF11 Update 4 (build 11,0,04,293328). However, I see the same issue in build 11.0.0.295492. And, yes, I also see the same path under "Dublin Core Properties". The reason I didn't check in CF11 Update 5 is b/c cfhtmltopdf is broken in Update 5. Thanks!, -Aaron
Comment by External U.
5805 | September 29, 2015 03:16:17 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Those metadata properties are now populated as "PDF" instead of the temp file path. Thanks!, -Aaron
Comment by Aaron N.
27845 | May 17, 2018 08:44:22 AM GMT