Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Matt QMatt QPriority
NewLabels
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
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Matt Q
Matt QPriority
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
Affects versions
Created 4 May 2020 at 02:22
Updated 7 July 2020 at 07:15
Resolved 7 July 2020 at 07:15
This issue was introduced somewhere between 5.3.4.80 and 5.3.5.92, and it is still present in the 5.3.6.53-RC.
// Foo.cfc
component accessors=true {
//property type="array" name="rts" default=[];
property array rts;
property FooBar[] foobars;
property struct barulations;
property numeric xyz;
property string abc;
public Foo function init(){ return this; }
}
// test.cfm
<cfscript>
f = new Foo();
dump(getMetadata(f));
</cfscript>
The dump above shows that the name and type values are swapped for everything except for struct and component. Additionally, calling any of the other property names results in a "no method exists" exception.