Error - Using cfpdf action="write" overwrite="false"

Description

I've faced the issue like Destination file already exists even it not available when using as per below code.
https://luceeserver.atlassian.net/browse/LDEV-93#icft=LDEV-93 fix is caused by the problem.

<cfscript> cfdocument(format="pdf", filename="#expandpath('source.pdf')#", overwrite="true"){ writeoutput("<p>This is PDF example document.</p>"); } </cfscript> <cfpdf action="write" source="source.pdf" destination="destin.pdf" overwrite="false">

Environment

None

Activity

Show:

Pothys - MitrahSoft 21 December 2020 at 09:48
Edited

, I've checked the ticket with the latest pdf extension build(1.0.0.95-SNAPSHOT). This issue was fixed, it works fine now.
This issue was not solved in fixed version 5.3.8.129-SNAPSHOT. So I removed the fixed version.

Michael Offner 18 December 2020 at 15:53

Pothys - MitrahSoft 24 September 2020 at 10:39

I've added a fix for the ticket.

Pull request: https://github.com/lucee/extension-pdf/pull/20

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 24 September 2020 at 10:34
Updated 3 May 2021 at 11:14
Resolved 3 May 2021 at 11:14

Flag notifications