I installed ColdFusion 8 at lunch today and have been trying to get some of my old apps up and running.
One issue I ran into immediately was:
The names of user-defined functions cannot be the same as built-in ColdFusion functions.
The name isInstanceOf is the name of a built-in ColdFusion function
It appears there are some new functions that conflict with existing functions I previously created.
So far I’ve run into:
- isInstanceOf
- isUserInAnyRole
Commenting out my functions allows things to work.
Has anyone stumbled across a concise list of new functions yet? If so leave a comment! :)
Go to
http://labs.adobe.com/technologies/coldfusion8/
click on ‘Product Details’ and download the CFML Reference. Then go to page 877.
Why not try out getfunctionlist()? It will give you a list of all the functions CF knows about.
Great info guys! Thanks! Too bad I have “work” to do so I can’t play! :(
I was gonna say what Nathan said…
You could also try cfdumping getPageContext().getPage() and you’ll see most functions available in all their Java glory.
In this instance – Sam’s low-tech “RTFM” turned out to be the easiest. There is a nice chart of available functions and what CF release they were introduced.