writeLog() broken in Lucee 5

Description

This works:

<!--- log.cfm ---> <cflog file="MyLog" text="test log entry">

This errors:

<cfscript> // writeLog.cfm writeLog(file="MyLog", text="test log entry") </cfscript>

Error:

Lucee 5.0.0.43 Error (java.lang.IllegalArgumentException) Message java.lang.IllegalArgumentException Cause java.lang.IllegalArgumentException Stacktrace The Error Occurred in C:\apps\lucee\5\express\lucee-server\context\library\function\writeLog.cfm: line 17 15: - scheduler: writes to Scheduler.log, normally used to log the execution of scheduled tasks."><!--- 16: 17: ---><cflog attributeCollection="#arguments#"><!--- 18: ---></cffunction>

This is a regression in Lucee 5. It runs fine in Lucee 4.5

(tested on 5.0.0.43)

Environment

None

Activity

Adam Cameron 
23 May 2015 at 07:39

Any chance this'd get looked at? Every time I try to test something on Lucee 5 beta I forget about this, and it bites me on the arse.

It'd be a far better use of someone's time sorting out something like this - which would prevent you from shipping 5 I should think - than messing around with tickets like LDEV-47: an edge-case ColdFusion compat issue which has been lying around without anyone caring for probably over a year.

Fixed

Details

Assignee

Reporter

Priority

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

Affects versions

Created 10 April 2015 at 08:06
Updated 31 May 2023 at 05:42
Resolved 5 October 2015 at 13:50