Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Roberto MarzialettiRoberto MarzialettiPriority
NewLabels
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
Sprint
NoneAffects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Roberto Marzialetti
Roberto MarzialettiPriority
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
Sprint
None
Affects versions
Created 29 April 2020 at 18:39
Updated 27 April 2022 at 16:53
Resolved 2 June 2021 at 15:22
According to the docs, this code should create a new file (nameconflict=“makeunique”), but doesn’t happen.
<cffile action="write" file="#ExpandPath('./fileExists.txt')#" output="fileExists.txt" nameconflict="makeunique">
ACF ignores completely the nameconflict attribute with "write" action.
Simple, it overwrites the file…
In Lucee:
nameconflict=“error” -> works
nameconflict=“skip” -> works
nameconflict=“overwrite” -> works
nameconflict=“makeunique” -> NOT works