Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): No Way / No Way (Janga_Jack)
Created: 02/24/2012
Components: Document Management, PDF generation
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta / 281617
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description:file written by cfpdfform then overwritten by cfpdf is no longer possible
Steps to Reproduce:Sample code:
<cfpdfform source="#variables.TemplatePath##arguments.template#" action="populate" overwrite="yes" overwritedata="yes" destination="#variables.OutputPath##local.UUID#.pdf">
<cfpdfformparam name="AddressLine1" value="#Arguments.AddressLine1#">
<cfpdfformparam name="AddressLine2" value="#Arguments.AddressLine2#">
</cfpdfform>
<cfpdf action="write" source="#variables.OutputPath##local.UUID#.pdf" destination="#variables.OutputPath##local.UUID#.pdf" overwrite="yes" flatten="yes" />
This code sample worked in CF9
Actual Result:
Currently causes an error:
ColdFusion could not delete the file C:\\Inetpub\\wwwroot\\TestSite\\ProductionOutput\\E8FFE6AB-FCF2-99B5-542A843398B7F08D.pdf.
Check if another request or process is not using the file.
Expected Result:
No error expected.
Any Workarounds:
Nothing tried so far.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3123169
External Customer Info:
External Company:
External Customer Name: Janga_Jack
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows, base install of CF10
Attachments:
Comments: