Monday, December 12, 2011
ColdFusion 9 Goodie that kicks your ass in 8
I know the title may be a little exaggerating, but today this caused me a lot of headaches. I have a client which I am updating their site which runs on ColdFusion 8 and without noticing it appears I got a little lazy in typing my CreateObject statements, as so; While this works great in ColdFusion 9 it fails miserably in ColdFusion 8. I have no idea what got me into the habit of not typing what type of object to create but by default 9 assumes it is a component and it does not throw an error. So I had to update my source code to read ... Now all is good again.