Bug with the word beanFactory

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! :slight_smile:

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 :slight_smile: If it worked previously, I have no idea!

1 Like

many thanks Tony :slight_smile:
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.

Can you file a bug for it in https://luceeserver.atlassian.net/secure/Dashboard.jspa please?

Done:
https://luceeserver.atlassian.net/browse/LDEV-2826

1 Like