blueriver/MuraCMS — Issue #219: extendObject Ignores Constructor Arguments
Author: s992
Created: 2011-12-14 20:42:50+00:00
State: open

extendObject.cfc's init method ignores arguments (or rather, overwrites them).

It first calls setXYZ for each of the arguments, and then it sets variables.instance.XYZ to some default values.

````

````

I'm not sure what the reasoning for this is, but it seems counter-intuitive to accept the arguments and then just overwrite them with defaults.