Instantiate using "new" not working on init() method
Hi,
I'm instantiating an object using "new" and calling my init() constructor with passing 4 parameters but I'm getting error that the params are required (Please see below). This works using "createobject", that's fine but I wanted to use the "new" to create an object. Can somebody give some info why this is not working? Thank you.
The SHOPPINGCARTDSN parameter to the INIT function is required but was not passed in.
<cfscript>
o = new cfc.shop.discount().init(shoppingcartdsn: 'test', localDSN: 'tcb', starsDSN: 'testdsn', projectname: 'test');
writeDump(o);
</cfscript>
