Fixed
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Michael Born @ Ortus
Michael Born @ OrtusPriority
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
Created 14 March 2023 at 14:47
Updated 31 March 2023 at 08:19
Resolved 31 March 2023 at 08:19
Looping over component metadata is a very common practice in CFML. However, in Lucee 6, we need to do an
isNull()
check because there are new metadata keys withnull
values:for ( var thisKey in getComponentMetadata( this ) ) { variables[ thisKey ] = arguments.md[ thisKey ]; }
This throws
the value from key [subname] is NULL, which is the same as not existing in CFML
This is breaking the current ColdBox build on the Lucee 6 beta.
It seems there are at least 2 new metadata keys which do not correspond to CFML code:
sub
subname
Perhaps more.