tracker issue : CF-3123169

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

Change in functionality of cfpdf and cfpdfform tags when combined.

| View in Tracker

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:

I'm not sure if this is an anticipated change.
Comment by External U.
20572 | February 24, 2012 02:19:06 PM GMT
Bug Verified. (Comment added from ex-user id:vnigam)
Comment by Adobe D.
20573 | February 27, 2012 04:33:56 AM GMT
Bug fixed. (Comment added from ex-user id:vnigam)
Comment by Adobe D.
20574 | March 02, 2012 04:01:42 AM GMT