Details
Assignee
Michael OffnerMichael OffnerReporter
Luis MajanoLuis MajanoPriority
MajorNew 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
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Luis Majano
Luis MajanoPriority
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 15 April 2019 at 21:44
Updated 22 July 2022 at 14:17
If any CFC declares implicit getters like so
/** * The LogBox object linkage */ property name="logbox";
When you get the metadata for the getter: `getMetadata( this ).getLogBox` the return type for the function is hard coded to string. Actually, all getters are hard coded to string in the metadata definition.
However, when used, they are not evaluated as strings and execution works. However, all libraries that rely on this metadata for AOP, method generations, mocking, and testing all fail. Because the metadata is hard coded as string. Adobe set's this correctly to either the property type or any as the default