OS: Windows 10
Lucee Version: 5.3.5.92
I’ve got a component like this
component output="false" accessors="true"{
property Any firstArg;
property Any beanFactory;
}
this is the dump:
as you can see there are two methods (setAny(), getAny()) instead of setBeanFactory() and getBeanFactory()
this is dump with previous version 5.3.4.80:
all methods are correct
attach files to test:
test-bug-beanFactory.zip (1.1 KB)
many thanks!
I could be wrong, but I don’t believe that syntax is supported. You can do property beanFactory;
, but if you want to add a property type or any other attribute, you need to include the attribute name: property type="any" name="beanFactory";
.
Ah I see you shared a before version and current version. Nevermind then If it worked previously, I have no idea!
1 Like
many thanks Tony
but i use this notation from many times ago.
it break only in new release of Lucee.
as u can see, in my example, syntax is ok for property name “firstArg”; is broken whith “beanFactory” name.