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.

image
image

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

Attachments

2
  • 19 Mar 2025, 12:19 pm
  • 19 Mar 2025, 12:19 pm

Activity

Show:

Pothys - MitrahSoft yesterday
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 yesterday
Resolved yesterday

Flag notifications