Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: File Management
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 3
cfpdf creates temp files in CF's logs directory
Repro:
1) Download attached CFDocumentWithComment.pdf, MyCommentCFDocument.xfdf and MyMetadataCFDocument.xmp
2) Create "temp" subfolder
3) Uncomment each of the following examples, run each example, and see temp files are created in Raijin's logs folder according to the comment in each example.
<!--- action="export" type="comment" --->
<!---<cfscript>
cfpdf(action="export", type="comment", source=expandPath('./CFDocumentWithComment.pdf'), exportto=expandPath('./temp/MyComment01.xfdf'), overwrite=true);//creates C:\ColdFusionRaijin\cfusion\logs\comment_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.tmp files
</cfscript>--->
<!--- action="import" type="comment" --->
<!---<cfscript>
cfdocument(format="pdf", filename=expandPath('./temp/MyPDF.pdf'), overwrite="true") {writeOutput("my PDF");};
cfpdf(action="import", type="comment", source=expandPath('./temp/MyPDF.pdf'), importfrom=expandPath('./MyCommentCFDocument.xfdf'));//creates C:\ColdFusionRaijin\cfusion\logs\Out1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.tmp files
</cfscript>--->
<!--- action="import" type="metadata" --->
<!---<cfscript>
cfdocument(format="pdf", filename=expandPath('./temp/MyPDF.pdf'), overwrite="true") {writeOutput("my PDF");};
cfpdf(action="import", type="metadata", source=expandPath('./temp/MyPDF.pdf'), importfrom=expandPath('./MyMetadataCFDocument.xmp'));//creates C:\ColdFusionRaijin\cfusion\logs\Out1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.tmp files
</cfscript>--->
<!--- action="addattachments" --->
<!---<cfscript>
cfdocument(format="pdf", filename=expandPath('./temp/MyPDF01.pdf'), overwrite="true") {writeOutput("my PDF");};
cfdocument(format="pdf", filename=expandPath('./temp/MyPDFAttachment.pdf'), overwrite=true) {writeOutput("my PDF attachment");};
cfpdf(action="addattachments", source=expandPath('./temp/MyPDF01.pdf')) {//creates C:\ColdFusionRaijin\cfusion\logs\Out1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.tmp
cfpdfparam(source=expandPath('./temp/MyPDFAttachment.pdf'), filename="MyPDFAttachment.pdf", encoding="UTF-8") {};
};
</cfscript>--->
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126620
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\Alpha_v12\4060910\CFDocumentWithComment.pdf
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\Alpha_v12\4060910\MyCommentCFDocument.xfdf
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\Alpha_v12\4060910\MyMetadataCFDocument.xmp
Attachments:
Comments: