getTempFile, dir should default to getTempDirectory() (when using named params)

Description

getTempFile( "", "lucee-getTempFile" ); or getTempFile( prefix="lucee-getTempFile" );

is shorthand for getTempFile( getTempDirectory(), "lucee-getTempFile" );

Activity

Show:

Pothys - MitrahSoft 17 February 2025 at 10:15

I have tested this ticket with Lucee version 6.2.1.25-SNAPSHOT. When I tried to execute the getTempFile() function without the 'dir' attribute, it now creates the temp file in the current temp directory, and the 'dir' attribute is now optional. It works fine now.

Zac Spitzer 11 February 2025 at 16:02

Zac Spitzer 23 January 2025 at 11:21

Fixed

Details

Assignee

Reporter

Labels

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

Fix versions

Priority

Created 9 September 2021 at 09:58
Updated 17 February 2025 at 10:15
Resolved 17 February 2025 at 10:15