Different output for fileOpen() between ACF & Lucee 6

Description

The response from a fileOpen() call is different between Lucee 6 and ACF 2023.

Specifically the FileSize value includes the word ‘bytes’ in Lucee.

https://dev.lucee.org/t/different-output-for-fileopen-between-acf-lucee-6/14849

Attachments

2

Activity

Pothys - MitrahSoft 
2 April 2025 at 06:32
(edited)

I tested this ticket with Lucee version 7.0.0.169-SNAPSHOT. When I tried to execute the fileOpen() function, the returned size now shows the number value, and the bytes are no longer included. Both ACF and Lucee now return the same results.

Zac Spitzer 
19 March 2025 at 12:39

https://github.com/lucee/Lucee/pull/2525

both getMetaData(fileObj) and fileObj.getMetaData() are returning empty structs?

Fixed

Details

Assignee

Reporter

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 19 March 2025 at 12:18
Updated 2 April 2025 at 06:32
Resolved 2 April 2025 at 06:32