Status/Resolution/Reason: Closed/Won't Fix/LowImpact
Reporter/Name(from Bugbase): Paul E. / Paul E. (paule1234)
Created: 06/16/2010
Components: Document Management, PDF Form
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 251028 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 3
Problem:
1. cfpdfform locks file open with overwrite='yes' unless within a cflock tag2. subsequent cfpdf throws error when flattening using overwrite='yes'Same code executes without error on CF8
Method:
<cfpdfform action="populate"source="#source_pdf#"destination="#contract_path##contract_pdf#"overwrite="yes"> <cfpdfformparam name="first_name" value="#getContact.First_Name#"> <cfpdfformparam name="last_name" value="#getContact.Last_Name#"></cfpdfform><!--- file will be locked open at this point unless the cfpdfform is enclosed in a cflock---><cfpdfaction="write"flatten="yes"version="1.5"source="#contract_path##contract_pdf#" destination="#contract_path##contract_pdf#"overwrite="yes"><!--- the above cfpdf call will throw error, even if enclosed within cflock --->
Result:
ColdFusion could not delete the file D:\mysite\files\contract_509.pdf.Check if another request or process is not using the file.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041664
External Customer Info:
External Company:
External Customer Name: Paul E.
External Customer Email: 4A015CEF4262B186992015D5
External Test Config: 06/16/2010
Attachments:
Comments: